]> git.openstreetmap.org Git - nominatim-ui.git/blob - dist/config.defaults.js
new config option -Reverse_Only- (#166)
[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   // Additional request headers for Nominatim API.
10   Nominatim_API_Endpoint_Headers: {},
11
12   // Additional query parameters for Nominatim API.
13   Nominatim_API_Endpoint_Params: {},
14
15   // If database has no search index, then hide search page
16   Reverse_Only: false,
17
18   // relative path or full URL
19   Images_Base_Url: 'mapicons/',
20
21   // If the API should return polygons to be displayed on the map
22   Search_AreaPolygons: true,
23
24   // ---- MAP ----
25   Reverse_Default_Search_Zoom: 18,
26   Map_Default_Lat: 20.0,
27   Map_Default_Lon: 0.0,
28   Map_Default_Zoom: 2,
29
30   // For what {x}, {y} etc stand for see
31   // https://leafletjs.com/reference-1.6.0.html#tilelayer
32   Map_Tile_URL: 'https://{s}.tile.osm.org/{z}/{x}/{y}.png',
33
34   // Can be text or HTML. To hide set to ''
35   Map_Tile_Attribution: '<a href="https://osm.org/copyright">OpenStreetMap contributors</a>'
36 };