mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
Configuring maxbounds in config to allow pan to not snap out of center
This commit is contained in:
@@ -48,8 +48,8 @@ const initial = {
|
||||
map: {
|
||||
anchor: [31.356397, 34.784818],
|
||||
startZoom: 11,
|
||||
minZoom: 0,
|
||||
maxZoom: 20,
|
||||
minZoom: 2,
|
||||
maxZoom: 16,
|
||||
bounds: null,
|
||||
maxBounds: [[180, -180], [-180, 180]],
|
||||
clusterRadius: 30
|
||||
|
||||
Reference in New Issue
Block a user