]> git.openstreetmap.org Git - nominatim-ui.git/blob - dist/config.defaults.js
New configuration paths (#89)
[nominatim-ui.git] / dist / config.defaults.js
1 // You can overwrite any defaults in dist/theme/config.theme.js
2
3 let Nominatim_Config = {
4   Page_Title: 'Nominatim Demo',
5
6   // Where Nominatim API runs. Remember to add port if needed and trailing slash.
7   Nominatim_API_Endpoint: 'http://localhost/nominatim/',
8
9   // relative path or full URL
10   Images_Base_Url: 'mapicons/',
11
12   // If the API should return polygons to be displayed on the map
13   Search_AreaPolygons: true,
14
15   // ---- MAP ----
16   Reverse_Default_Search_Zoom: 18,
17   Map_Default_Lat: 20.0,
18   Map_Default_Lon: 0.0,
19   Map_Default_Zoom: 2,
20
21   // For what {x}, {y} etc stand for see
22   // https://leafletjs.com/reference-1.6.0.html#tilelayer
23   Map_Tile_URL: 'https://{s}.tile.osm.org/{z}/{x}/{y}.png',
24
25   // Can be text or HTML. To hide set to ''
26   Map_Tile_Attribution: '<a href="https://osm.org/copyright">OpenStreetMap contributors</a>'
27 };