Skip to content
Snippets Groups Projects

Resolve "[Map] - After copy link the total number of elements in the bbox is not correct"

1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -163,6 +163,10 @@ export class MapComponent implements OnInit, OnDestroy {
this.map.on('style.load', () => {
this._mapService.addLayers();
this.currentLayerType = this._mapService.currentLayerType;
// When we come from a copy link, we need to update the features with the new bounding box
if (parameters.length === 6) {
this.updateFeatures();
}
});
this._mapService.previousDatasetId = this.metadata.dataset_id;
Loading