Leaflet.utfgrid icon indicating copy to clipboard operation
Leaflet.utfgrid copied to clipboard

Multiple UTFgrids example

Open anjabeth opened this issue 9 years ago • 4 comments

Did a project this summer that required LOTS of UTFgrids (>17), and had a hard time finding documentation/answers for how to switch them out at different zoom levels, so I thought this might be a helpful example for other people who want to use different grids at different levels

anjabeth avatar Oct 21 '16 21:10 anjabeth

Thanks! I'm not sure I can merge this as it looks like it uses a bunch of files we don't have. Maybe you could write up a post on how it works? Looks like you are removing the existing grid and adding a new one in the endzoom event?

danzel avatar Oct 24 '16 22:10 danzel

A post would actually probably work a lot better, in hindsight - thanks! I'll try to get that written up in the next couple of days. Would you rather I submit it as a txt file or something similar? I'm not sure what the best option is - pretty new to contributing, so I don't know how this all works.

anjabeth avatar Oct 25 '16 00:10 anjabeth

If you have a blog somewhere you could put it on there and we can add a link in the readme. Otherwise maybe write it up in an issue and we could link to that?

danzel avatar Oct 25 '16 00:10 danzel

Sounds great! I'll do that

anjabeth avatar Oct 25 '16 01:10 anjabeth