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

Different polygons on zoom level #10

Open
ozzargueyo opened this issue Jul 2, 2017 · 1 comment
Open

Different polygons on zoom level #10

ozzargueyo opened this issue Jul 2, 2017 · 1 comment

Comments

@ozzargueyo
Copy link

Hi,thanks for this repository. I think it is a great start for anyone looking to start in indoor maps like myself.

How can i make to have differente polygons on differents zoom levels. For example In zoom level 1 i can see sectors and in a zoom level 2 the map renders the rooms of that sectors (polygons too)

Can you give me a hint? leaflet-indoor can manage that requirement?

Thanks again for this amazing repository!

@jasperfirecai2
Copy link

You could use two separate geoJSON files/strings and using leaflets own way of seeing the zoomlevel to change between the two files/Strings and then re-draw the indoor map layer?
it's a bit of a late comment but nonetheless hope this helps

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