X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/6e68f11776a8f6f5a62b989f13ebf7438ef32476..f4d0d764b1f1506374849a304bd7322fa3547741:/dist/config.defaults.js diff --git a/dist/config.defaults.js b/dist/config.defaults.js index 9ab6f3a..5846e92 100644 --- a/dist/config.defaults.js +++ b/dist/config.defaults.js @@ -5,6 +5,21 @@ let Nominatim_Config = { // Where Nominatim API runs. Remember to add port if needed and trailing slash. Nominatim_API_Endpoint: 'http://localhost/nominatim/', + // Alternatively provide a function callback + // Nominatim_API_Endpoint: function (endpoint) { + // var url = 'http://localhost/nominatim/'; + // if (endpoint) { url += endpoint + '.php' }; + // return url; + // } + + // Additional request headers for Nominatim API. + Nominatim_API_Endpoint_Headers: {}, + + // Additional query parameters for Nominatim API. + Nominatim_API_Endpoint_Params: {}, + + // If database has no search index, then hide search page + Reverse_Only: false, // relative path or full URL Images_Base_Url: 'mapicons/',