Skip to content

Commit

Permalink
Don't replace vector layer tile updates (colliding with multiple sour…
Browse files Browse the repository at this point in the history
…ces)
  • Loading branch information
maurhofer-ubique committed Jan 30, 2024
1 parent e8866be commit 4eb4472
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Tiled2dMapVectorTileInfo::FeatureMap Tiled2dMapVectorSource::postLoadingTask(con
}

void Tiled2dMapVectorSource::notifyTilesUpdates() {
listener.message(MailboxDuplicationStrategy::replaceNewest, &Tiled2dMapVectorSourceListener::onTilesUpdated, sourceName, getCurrentTiles());
listener.message(&Tiled2dMapVectorSourceListener::onTilesUpdated, sourceName, getCurrentTiles());
}

std::unordered_set<Tiled2dMapVectorTileInfo> Tiled2dMapVectorSource::getCurrentTiles() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Tiled2dVectorGeoJsonSource : public Tiled2dMapVectorSource, public GeoJSON
}

virtual void notifyTilesUpdates() override {
listener.message(MailboxDuplicationStrategy::replaceNewest, &Tiled2dMapVectorSourceListener::onTilesUpdated, sourceName, getCurrentTiles());
listener.message(&Tiled2dMapVectorSourceListener::onTilesUpdated, sourceName, getCurrentTiles());
};

void didLoad(uint8_t maxZoom) override {
Expand Down

0 comments on commit 4eb4472

Please sign in to comment.