summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorChristopher Baines <cb15g11@soton.ac.uk>2014-09-01 22:00:31 +0100
committerChristopher Baines <cb15g11@soton.ac.uk>2014-09-01 22:00:31 +0100
commitafe8e55ce120743983f8b6c4fc411d609ad73f6a (patch)
treecefae089593c8a774a4326b840212fdcd2a38153 /examples
parentae935ace2ae7658b14445768b869cc32b38fa162 (diff)
downloadleaflet-soton-afe8e55ce120743983f8b6c4fc411d609ad73f6a.tar
leaflet-soton-afe8e55ce120743983f8b6c4fc411d609ad73f6a.tar.gz
Fix interactive bus stops
They previously only worked if the bus routes were displayed. This commit also checks for the existance of the route and sidebar classes before attempting to use them.
Diffstat (limited to 'examples')
-rw-r--r--examples/full.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/full.html b/examples/full.html
index cae1e87..c59fdea 100644
--- a/examples/full.html
+++ b/examples/full.html
@@ -28,6 +28,7 @@
<script src="../resources/leaflet-locatecontrol/src/L.Control.Locate.js"></script>
<script src="../resources/leaflet-hash/leaflet-hash.js"></script>
<script src="../resources/leaflet-indoor/leaflet-indoor.js"></script>
+ <script src="../resources/leaflet-route/leaflet-route.js"></script>
<script src="../src/leaflet-soton.js"></script>