Use https for nominatim
This commit is contained in:
parent
ce9066797c
commit
af1397436f
3 changed files with 4 additions and 4 deletions
|
@ -76,7 +76,7 @@ OSM.Directions = function (map) {
|
|||
|
||||
endpoint.awaitingGeocode = true;
|
||||
|
||||
$.getJSON(document.location.protocol + OSM.NOMINATIM_URL + 'search?q=' + encodeURIComponent(endpoint.value) + '&format=json', function (json) {
|
||||
$.getJSON(OSM.NOMINATIM_URL + 'search?q=' + encodeURIComponent(endpoint.value) + '&format=json', function (json) {
|
||||
endpoint.awaitingGeocode = false;
|
||||
endpoint.hasGeocode = true;
|
||||
if (json.length === 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue