diff options
author | Christopher Baines <cb15g11@soton.ac.uk> | 2014-08-09 08:05:35 +0100 |
---|---|---|
committer | Christopher Baines <cb15g11@soton.ac.uk> | 2014-08-09 08:05:35 +0100 |
commit | 2fed9244d4220f8ee8d45da45cd1209ffd33a060 (patch) | |
tree | d4a4c58056ac276641579e7515ac36430efd0d10 /src | |
parent | f49d35ebaa7b20212222053b3712c943bd5c5e99 (diff) | |
download | leaflet-soton-2fed9244d4220f8ee8d45da45cd1209ffd33a060.tar leaflet-soton-2fed9244d4220f8ee8d45da45cd1209ffd33a060.tar.gz |
Fix workstation popups
Diffstat (limited to 'src')
-rw-r--r-- | src/leaflet-soton.js | 4 |
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); }); }); |