summaryrefslogtreecommitdiff
path: root/src/leaflet-soton.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/leaflet-soton.js')
-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 5d30926..0948789 100644
--- a/src/leaflet-soton.js
+++ b/src/leaflet-soton.js
@@ -873,7 +873,7 @@ SELECT * WHERE {\
stopOptions: {
onEachFeature: function(feature, layer) {
layer.on('click', function(e) {
- var content = busStopTemplate(feature.properties);
+ var content = LS.infoTemplates.busStop(feature.properties);
map.showInfo(content, e.latlng);
});
@@ -1163,7 +1163,7 @@ SELECT * WHERE {\
var building = buildings[i];
if (building.properties.uri === uri) {
- var content = buildingTemplate(building.properties,
+ var content = LS.infoTemplate.building(building.properties,
this.options,
map,
function() { map.closeInfo(); });