You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to show minimap with image and markers,
my problem is that the minimap doesn't show all map as expected...
I see all the map on the screen but in the minimap just part of the map, this is a picture:
I attached my code:
let osm2 = this.mapDataService.drawMap(this.mapData);
let markers2 = this.itemsDrawService.draw(this.items);
let layers = new LayerGroup([...osm2.layers, ...markers2]);
let miniMap = new MiniMap(layers, {toggleDisplay: true});
miniMap.addTo(this.map);
Thanks
Yael
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to show minimap with image and markers,
my problem is that the minimap doesn't show all map as expected...
I see all the map on the screen but in the minimap just part of the map, this is a picture:
I attached my code:
let osm2 = this.mapDataService.drawMap(this.mapData);
let markers2 = this.itemsDrawService.draw(this.items);
let layers = new LayerGroup([...osm2.layers, ...markers2]);
let miniMap = new MiniMap(layers, {toggleDisplay: true});
miniMap.addTo(this.map);
Thanks
Yael
The text was updated successfully, but these errors were encountered: