leaflet-map icon indicating copy to clipboard operation
leaflet-map copied to clipboard

Feature fit map to layer group

Open Compufreak345 opened this issue 10 years ago • 0 comments

Added property fitMapToBounds to get the map automatically resized to fit the bounds of the LayerGroup where this is set to true (so enables functionality like fitToMarkers, but for only selected items). Random behaviour will occur if this is set on multiple elements, but I think it's quite useful anyways.

Contains the changes from pull-request #38 as well.

Compufreak345 avatar Jul 31 '15 16:07 Compufreak345