X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c9687b102bb6f544a034dc4d508bf0ae4a5fc221..502749ba0bdd92a4c0c2cec23a0f27155f873036:/dist/config.defaults.js diff --git a/dist/config.defaults.js b/dist/config.defaults.js new file mode 100644 index 0000000..9ab6f3a --- /dev/null +++ b/dist/config.defaults.js @@ -0,0 +1,27 @@ +// You can overwrite any defaults in dist/theme/config.theme.js + +let Nominatim_Config = { + Page_Title: 'Nominatim Demo', + + // Where Nominatim API runs. Remember to add port if needed and trailing slash. + Nominatim_API_Endpoint: 'http://localhost/nominatim/', + + // relative path or full URL + Images_Base_Url: 'mapicons/', + + // If the API should return polygons to be displayed on the map + Search_AreaPolygons: true, + + // ---- MAP ---- + Reverse_Default_Search_Zoom: 18, + Map_Default_Lat: 20.0, + Map_Default_Lon: 0.0, + Map_Default_Zoom: 2, + + // 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', + + // Can be text or HTML. To hide set to '' + Map_Tile_Attribution: 'OpenStreetMap contributors' +};