]> git.openstreetmap.org Git - nominatim-ui.git/blob - dist/config.example.js
bfddf7fc2610ff3a17e88f6637125daecb1490d3
[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 Nominatim_Config['Nominatim_API_Endpoint'] = 'https://nominatim.openstreetmap.org/';
11
12 // Nominatim_Config['Images_Base_Url'] = '/mapicons/';
13
14 // If the API should return polygons to be displayed on the map
15 // Nominatim_Config['Search_AreaPolygons'] = 1;
16 // Nominatim_Config['Reverse_Default_Search_Zoom'] = 18;
17
18 // ---- MAP ----
19 // For what {x}, {y} etc stand for see
20 // https://leafletjs.com/reference-1.6.0.html#tilelayer
21 // Nominatim_Config['Map_Tile_URL'] = 'https://{s}.tile.osm.org/{z}/{x}/{y}.png';
22
23 // Can be text or HTML. To hide set to ''
24 // Nominatim_Config['Map_Tile_Attribution'] = '<a href="https://osm.org/copyright">OpenStreetMap contributors</a>';
25
26 // Nominatim_Config['Map_Default_Lat'] = 20.0;
27 // Nominatim_Config['Map_Default_Lon'] = 0.0;
28 // Nominatim_Config['Map_Default_Zoom'] = 2;