]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/config.defaults.js
Merge remote-tracking branch 'upstream/master'
[nominatim-ui.git] / dist / config.defaults.js
index fa0556c9876d4439a1b71c0ceff150ff38b9f0bb..21e3880515fbdd3faf845d7423bd67c85d2cfdd9 100644 (file)
@@ -33,6 +33,10 @@ let Nominatim_Config = {
   Map_Default_Lat: 20.0,
   Map_Default_Lon: 0.0,
   Map_Default_Zoom: 2,
   Map_Default_Lat: 20.0,
   Map_Default_Lon: 0.0,
   Map_Default_Zoom: 2,
+  // https://leafletjs.com/reference.html#map-fitbounds
+  // Example: [[0,-180], [90,180]]
+  // If set then _Lat, _Lon, _Zoom have no effect
+  Map_Default_Bounds: null,
 
   // For what {x}, {y} etc stand for see
   // https://leafletjs.com/reference-1.9.1.html#tilelayer
 
   // For what {x}, {y} etc stand for see
   // https://leafletjs.com/reference-1.9.1.html#tilelayer