summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <cb15g11@soton.ac.uk>2014-09-17 14:30:07 +0100
committerChristopher Baines <cb15g11@soton.ac.uk>2014-09-17 14:30:07 +0100
commit34c5eadbb6fb846de95e6e453a9e3a8203d21a71 (patch)
treeb79efe45b8e301ce0e170171aa5ecd59110a7195
parent51840747236ae5b43e05cb3fd9bc3a16e16a20fb (diff)
downloadleaflet-soton-34c5eadbb6fb846de95e6e453a9e3a8203d21a71.tar
leaflet-soton-34c5eadbb6fb846de95e6e453a9e3a8203d21a71.tar.gz
Add name for Lift's
-rw-r--r--src/leaflet-soton.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leaflet-soton.js b/src/leaflet-soton.js
index 90ba947..d491595 100644
--- a/src/leaflet-soton.js
+++ b/src/leaflet-soton.js
@@ -1143,6 +1143,8 @@ SELECT * WHERE {\
if (!("name" in properties)) {
if (properties["buildingpart:verticalpassage"] === "stairway") {
properties.name = "Stairway";
+ } else if (properties["buildingpart:verticalpassage"] === "lift") {
+ properties.name = "Lift";
} else {
properties.name = "Vertical Passage";
}