From e60277f767cdab133f0c77e20298b58740c9b9f2 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 1 Mar 2014 18:09:27 +0000 Subject: Fix level changing when showing workstations --- src/leaflet-soton.js | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) (limited to 'src') diff --git a/src/leaflet-soton.js b/src/leaflet-soton.js index 0789bf2..f90256d 100644 --- a/src/leaflet-soton.js +++ b/src/leaflet-soton.js @@ -38,6 +38,39 @@ } } }, + getRoomFor: function(uri) { + var parts = LS.data.buildingParts.features; + + for (var i=0; i