enable highlighting of address in OSM.
This commit is contained in:
parent
79da782892
commit
060a297260
|
@ -48,7 +48,7 @@ Contacts={
|
||||||
adrstr = adrstr + adrarr[6].trim();
|
adrstr = adrstr + adrarr[6].trim();
|
||||||
}
|
}
|
||||||
adrstr = encodeURIComponent(adrstr);
|
adrstr = encodeURIComponent(adrstr);
|
||||||
var uri = 'http://open.mapquestapi.com/nominatim/v1/search.php?q=' + adrstr + '&limit=10&addressdetails=1&zoom=';
|
var uri = 'http://open.mapquestapi.com/nominatim/v1/search.php?q=' + adrstr + '&limit=10&addressdetails=1&polygon=1&zoom=';
|
||||||
var newWindow = window.open(uri,'_blank');
|
var newWindow = window.open(uri,'_blank');
|
||||||
newWindow.focus();
|
newWindow.focus();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue