enable highlighting of address in OSM.

This commit is contained in:
Bjoern Schiessle 2012-06-27 11:46:42 +02:00
parent 79da782892
commit 060a297260
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}, },