dev/patrick #1
@@ -48,7 +48,12 @@ map = L.map('map', {
|
||||
center: MUNICIPALITY.center,
|
||||
zoom: MUNICIPALITY.zoom,
|
||||
minZoom: 10,
|
||||
zoomControl: false, // Added manually for Position Control
|
||||
maxBounds: [
|
||||
[MUNICIPALITY.center[0] - 0.25, MUNICIPALITY.center[1] - 0.25],
|
||||
[MUNICIPALITY.center[0] + 0.25, MUNICIPALITY.center[1] + 0.25]
|
||||
],
|
||||
maxBoundsViscosity: 0.8,
|
||||
zoomControl: false,
|
||||
attributionControl: true
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user