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,
36 // https://leafletjs.com/reference.html#map-fitbounds
37 // Example: [[0,-180], [90,180]]
38 // If set then _Lat, _Lon, _Zoom have no effect
39 Map_Default_Bounds: null,
41 // For what {x}, {y} etc stand for see
42 // https://leafletjs.com/reference-1.9.1.html#tilelayer
43 Map_Tile_URL: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
45 // Can be text or HTML. To hide set to ''
46 Map_Tile_Attribution: '<a href="https://osm.org/copyright">OpenStreetMap contributors</a>'