Monday, 21 March 2016

opacity - Load or display differents geojson data on zoom level for leaflet maps


I have a map with 3 levels of information. The first is the country, the second the state and the last one the cities. I wonder know if it's possible to use the zoom value in order to display the different datas from my geojson file ? I think about a kind a zoom listener or maybe display the three layer but use the setOpacity link to the zoom level.




No comments:

Post a Comment