Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show minimap with image overlay #151

Open
yaelFriedmann opened this issue May 21, 2019 · 1 comment
Open

Show minimap with image overlay #151

yaelFriedmann opened this issue May 21, 2019 · 1 comment

Comments

@yaelFriedmann
Copy link

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:
image

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

@michael-eckhart-woellkart

Hi,
I have the same issue, is there a solution?
Thanks
Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants