summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-06-27 11:46:42 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-06-27 11:46:42 +0200
commit060a29726095e9b4ba838d2a28cae9a2e0e959a3 (patch)
treec2b7a621d03ee456388eb7d066957b66a21ecb92
parent79da782892282ffc6390953fdcf2d496c6adc0fd (diff)
downloadnextcloud-server-060a29726095e9b4ba838d2a28cae9a2e0e959a3.tar.gz
nextcloud-server-060a29726095e9b4ba838d2a28cae9a2e0e959a3.zip
enable highlighting of address in OSM.
-rw-r--r--apps/contacts/js/contacts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js
index f4c361082c8..e5326ad8805 100644
--- a/apps/contacts/js/contacts.js
+++ b/apps/contacts/js/contacts.js
@@ -48,7 +48,7 @@ Contacts={
adrstr = adrstr + adrarr[6].trim();
}
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');
newWindow.focus();
},