Remove auto zoom-out on range circle click
This commit is contained in:
parent
69b9128c3f
commit
aa694c1771
1 changed files with 0 additions and 3 deletions
|
|
@ -314,9 +314,6 @@ export const PropagationMap = {
|
|||
fillOpacity: 1
|
||||
}).addTo(this.rangeCircles)
|
||||
|
||||
// Fit map to show the outer circle
|
||||
const bounds = L.latLng(center).toBounds(rangeKm * 2 * 1000)
|
||||
this.map.fitBounds(bounds, { padding: [50, 50], maxZoom: this.map.getZoom() })
|
||||
},
|
||||
|
||||
sendBounds() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue