]> git.openstreetmap.org Git - nominatim-ui.git/commitdiff
version 3.2.11
authormarc tobias <mtmail@gmx.net>
Wed, 8 Mar 2023 20:20:44 +0000 (21:20 +0100)
committermarc tobias <mtmail@gmx.net>
Wed, 8 Mar 2023 20:20:44 +0000 (21:20 +0100)
CHANGES.md
CONTRIBUTE.md
dist/config.defaults.js
package.json

index f97546d29b3f9eb5ad6088cd5a2ebbaed86acc72..194e97d35195dc96daaac6c5183ed45eecac9bfa 100644 (file)
@@ -1,5 +1,9 @@
 # CHANGES
 
+* version 3.2.11 - 2023-03-08
+    * Configuration: You can now set Map_Default_Bounds als alternative to lat,lon, zoom. Thanks Piskvor
+    * NPM package updates
+
 * version 3.2.10 - 2023-01-06
 
     * Search page: When searching for OSM URL redirect to detail page automatically
index 9f9859754aff2b786f1e24d2bdfe2ca8e5efe084..72248321ef3327e906147149d01491fd3c016a5c 100644 (file)
@@ -66,7 +66,7 @@ The `test/` setup uses [Mocha](https://mochajs.org/) to run tests. Tests use [Pu
 
 2. Update `CHANGES.md` file
 
-3. Commit your changes: `git add... `, `git commit ...`, `git push ...` etc
+3. Commit your changes: `git add ... `, `git commit ...`, `git push ...` etc
 
 4. Tag release: `git tag THE_VERSION_NUMBER`, `git push --tags`
 
index 27d98a8021abca176a8f952bdce698921bdeef25..21e3880515fbdd3faf845d7423bd67c85d2cfdd9 100644 (file)
@@ -33,6 +33,9 @@ let Nominatim_Config = {
   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
index 0fb96b9bbbe1a2851799a75813d60d82a6f0ae3f..ee2f272d7503aaff23e9579d871e06fc55b591d4 100644 (file)
@@ -1,7 +1,7 @@
 {
   "name": "nominatim-ui",
   "description": "Debug web interface for Nominatim geocoder",
-  "version": "3.2.10",
+  "version": "3.2.11",
   "license": "GPL-2.0",
   "scripts": {
     "build": "rollup -c",