summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristopher Baines <cb15g11@soton.ac.uk>2014-08-09 08:05:35 +0100
committerChristopher Baines <cb15g11@soton.ac.uk>2014-08-09 08:05:35 +0100
commit2fed9244d4220f8ee8d45da45cd1209ffd33a060 (patch)
treed4a4c58056ac276641579e7515ac36430efd0d10 /src
parentf49d35ebaa7b20212222053b3712c943bd5c5e99 (diff)
downloadleaflet-soton-2fed9244d4220f8ee8d45da45cd1209ffd33a060.tar
leaflet-soton-2fed9244d4220f8ee8d45da45cd1209ffd33a060.tar.gz
Fix workstation popups
Diffstat (limited to 'src')
-rw-r--r--src/leaflet-soton.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leaflet-soton.js b/src/leaflet-soton.js
index dd2193c..40e70a8 100644
--- a/src/leaflet-soton.js
+++ b/src/leaflet-soton.js
@@ -1844,7 +1844,7 @@ SELECT * WHERE {\
var popupOptions = {offset: [0, -15]};
var content = workstationsTemplate([uri]);
- showPopup(this._map, content, a.latlng, popupOptions);
+ this._map.showInfo(content, a.latlng, popupOptions);
}).on('clusterclick', function (a) {
var uris = a.layer.getAllChildMarkers().map(function(marker) {
return marker.uri;
@@ -1854,7 +1854,7 @@ SELECT * WHERE {\
var content = workstationsTemplate(uris);
- showPopup(this._map, content, a.latlng, popupOptions);
+ this._map.showInfo(content, a.latlng, popupOptions);
});
});