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