From: marc tobias Date: Wed, 8 Mar 2023 20:20:44 +0000 (+0100) Subject: version 3.2.11 X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/commitdiff_plain/438f28dde974881d2628fcf9a9cc1a811e90ebe1 version 3.2.11 --- diff --git a/CHANGES.md b/CHANGES.md index f97546d..194e97d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/CONTRIBUTE.md b/CONTRIBUTE.md index 9f98597..7224832 100644 --- a/CONTRIBUTE.md +++ b/CONTRIBUTE.md @@ -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` diff --git a/dist/config.defaults.js b/dist/config.defaults.js index 27d98a8..21e3880 100644 --- a/dist/config.defaults.js +++ b/dist/config.defaults.js @@ -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 diff --git a/package.json b/package.json index 0fb96b9..ee2f272 100644 --- a/package.json +++ b/package.json @@ -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",