X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/2b99d15fd5b90978a089243cb22dd6ec1f139b0f..25ee5c11cb0a351f72da6dadeaa95c526f38e756:/dist/config.defaults.js diff --git a/dist/config.defaults.js b/dist/config.defaults.js index 5846e92..21e3880 100644 --- a/dist/config.defaults.js +++ b/dist/config.defaults.js @@ -1,4 +1,5 @@ -// You can overwrite any defaults in dist/theme/config.theme.js +// You can overwrite any defaults in dist/theme/config.theme.js (see +// *.js.example file in that directory) let Nominatim_Config = { Page_Title: 'Nominatim Demo', @@ -32,10 +33,14 @@ 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 - // https://leafletjs.com/reference-1.6.0.html#tilelayer - Map_Tile_URL: 'https://{s}.tile.osm.org/{z}/{x}/{y}.png', + // https://leafletjs.com/reference-1.9.1.html#tilelayer + Map_Tile_URL: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', // Can be text or HTML. To hide set to '' Map_Tile_Attribution: 'OpenStreetMap contributors'