1 // You can overwrite any defaults in dist/theme/config.theme.js (see
2 // *.js.example file in that directory)
4 let Nominatim_Config = {
5 Page_Title: 'Nominatim Demo',
7 // Where Nominatim API runs. Remember to add port if needed and trailing slash.
8 Nominatim_API_Endpoint: 'http://localhost/nominatim/',
9 // Alternatively provide a function callback
10 // Nominatim_API_Endpoint: function (endpoint) {
11 // var url = 'http://localhost/nominatim/';
12 // if (endpoint) { url += endpoint + '.php' };
16 // Additional request headers for Nominatim API.
17 Nominatim_API_Endpoint_Headers: {},
19 // Additional query parameters for Nominatim API.
20 Nominatim_API_Endpoint_Params: {},
22 // If database has no search index, then hide search page
25 // relative path or full URL
26 Images_Base_Url: 'mapicons/',
28 // If the API should return polygons to be displayed on the map
29 Search_AreaPolygons: true,
32 Reverse_Default_Search_Zoom: 18,
33 Map_Default_Lat: 20.0,
37 // For what {x}, {y} etc stand for see
38 // https://leafletjs.com/reference-1.9.1.html#tilelayer
39 Map_Tile_URL: 'https://tile.osm.org/{z}/{x}/{y}.png',
41 // Can be text or HTML. To hide set to ''
42 Map_Tile_Attribution: '<a href="https://osm.org/copyright">OpenStreetMap contributors</a>'