zoom to a layer exent - on user click.

18 views
Skip to first unread message

Chim Richalds

unread,
Jun 20, 2017, 9:45:29 PM6/20/17
to Leaflet
   I have a leaflet map with about 20 layers,  a combination of raster and vector layers.   I'm using a checkbox to activate the layer.   I'd like to make it so if you click on the name of the layer it will zoom to the extent of that layer. 

Thanks very much
Reply all
Reply to author
Forward
0 new messages