summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorChristopher Baines <cb15g11@soton.ac.uk>2014-09-06 18:30:13 +0100
committerChristopher Baines <cb15g11@soton.ac.uk>2014-09-06 18:30:13 +0100
commit903dbcd6c4c4343355008aabe0b98afa52159313 (patch)
treeb33fedcfbabb96eeb2f940624c3edcccaf89439d /examples
parent063c97feb6a9cafc822fab0b53e66ff1cd0c10a3 (diff)
downloadleaflet-soton-903dbcd6c4c4343355008aabe0b98afa52159313.tar
leaflet-soton-903dbcd6c4c4343355008aabe0b98afa52159313.tar.gz
Add panByURI method
Diffstat (limited to 'examples')
-rw-r--r--examples/buildingsearch.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/buildingsearch.html b/examples/buildingsearch.html
index 8bb64b7..77843e9 100644
--- a/examples/buildingsearch.html
+++ b/examples/buildingsearch.html
@@ -149,7 +149,7 @@ body { height: 100%; margin: 0px; padding: 0px }
a.href = "#";
a.onclick = function() {
- map.showByURI(building.properties.uri);
+ map.panByURI(building.properties.uri);
};
var label = document.createElement("span");