pink-gorilla / ui-pprint-frisk

Reagent UI renderer for data visualization.
14 stars 0 forks source link

leaflet center #12

Closed awb99 closed 3 years ago

awb99 commented 4 years ago

https://jsfiddle.net/4p7u56wy/

calculate center automatically, if features have been added

awb99 commented 4 years ago

const bounds = Leaflet.latLngBounds([position, position2]);