]> git.openstreetmap.org Git - nominatim-ui.git/blob - dist/config.example.js
e3b8a3ea1f6153462c1a5bc8bc5c685ab772cb73
[nominatim-ui.git] / dist / config.example.js
1 // The app loads an optional file config.js
2 //
3 // You can use this file as base for config.js (just copy or rename it), all
4 // keys are optional.
5
6 var Nominatim_Config = [];
7
8 // Where Nominatim API runs. Remember to add port if needed and trailing slash.
9 // Nominatim_Config['Nominatim_API_Endpoint'] = 'http://localhost/nominatim/';
10
11 // Nominatim_Config['Images_Base_Url'] = '/mapicons/';
12
13 // If the API should return polygons to be displayed on the map
14 // Nominatim_Config['Search_AreaPolygons'] = 1;
15 // Nominatim_Config['Reverse_Default_Search_Zoom'] = 18;
16
17 // ---- MAP ----
18 // For what {x}, {y} etc stand for see
19 // https://leafletjs.com/reference-1.6.0.html#tilelayer
20 // Nominatim_Config['Map_Tile_URL'] = 'https://{s}.tile.osm.org/{z}/{x}/{y}.png';
21
22 // Can be text or HTML. To hide set to ''
23 // Nominatim_Config['Map_Tile_Attribution'] = '<a href="https://osm.org/copyright">OpenStreetMap contributors</a>';
24
25 // Nominatim_Config['Map_Default_Lat'] = 20.0;
26 // Nominatim_Config['Map_Default_Lon'] = 0.0;
27 // Nominatim_Config['Map_Default_Zoom'] = 2;
28
29 // ---- BRANDING ----
30 // Nominatim_Config['Page_Title'] = 'Nominatim Demo';