From 586cda60293cebd617f0af275d63343f68abd525 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 6 Jun 2014 11:52:55 +0100 Subject: Add a RouteLayer and RouteControl Add the leaflet-textpath submodule as it is used in the RouteLayer Improve the bus route extraction: - Now supports polygons for platforms - Supports routes not in a route master - Filter out all but one U1C route (in an attempt to make the interface less confusing) Add an example using the RouteLayer and RouteControl. Hard code the centers for some "University" buildings on the Isle of White and in Basingstoke, such that workstations listed as in these buildings appear on the map. --- examples/bus.html | 47 +++++++++++++++++++++++++++++++++++++++++++++++ examples/index.html | 1 + 2 files changed, 48 insertions(+) create mode 100644 examples/bus.html (limited to 'examples') diff --git a/examples/bus.html b/examples/bus.html new file mode 100644 index 0000000..a936262 --- /dev/null +++ b/examples/bus.html @@ -0,0 +1,47 @@ + + + + Map - University of Southampton + + + + + + + + + + +
+ + + + + + + + + + + + + diff --git a/examples/index.html b/examples/index.html index fb1095b..782314a 100644 --- a/examples/index.html +++ b/examples/index.html @@ -95,6 +95,7 @@ h6 { font-size: 1em; line-height: 1.3125; }
  • Zepler Example
  • Vending Machines Example
  • Cycle Parking Heatmap Example
  • +
  • Bus Routes Example
  • OpenStreetMap

    -- cgit v1.2.3