You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought it could be an interesting feature to have the option to add the array of items being put on the map be collected, and then do a fitBounds based on those data points.
Actually, after looking further at your code I was wondering even if you could guide me on how to obtain access to the layer that you are creating? I think that if I had that variable I could probably grab the bounds and then zoom accordingly using fitBounds.
Hi there,
I thought it could be an interesting feature to have the option to add the array of items being put on the map be collected, and then do a
fitBounds
based on those data points.I came across this example on Leaflet JS https://stackoverflow.com/questions/16845614/zoom-to-fit-all-markers-in-mapbox-or-leaflet
The text was updated successfully, but these errors were encountered: