From d752378caaa4acd3a359e1cfe1f6a856e33726bf Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 27 Feb 2014 11:34:07 +0000 Subject: Improve docs Fix some sum references Also add links to full page examples --- examples/index.html | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/examples/index.html b/examples/index.html index 997e65d..9f7d92a 100644 --- a/examples/index.html +++ b/examples/index.html @@ -85,6 +85,16 @@ h6 { font-size: 1em; line-height: 1.3125; }

An Introduction to OpenStreetMap and the University of Southampton

+ Full page map examples + +

OpenStreetMap

@@ -228,7 +238,7 @@ h6 { font-size: 1em; line-height: 1.3125; } Currently there are two tileservers hosting this University specific tileset. Inside ECS there is kanga-cb15g11.ecs.soton.ac.uk, which is updated daily. Outside - of ECS, there is altair.cbaines.net, which is rarely updated. + of ECS, there is bus.southampton.ac.uk.

@@ -236,7 +246,7 @@ h6 { font-size: 1em;      line-height: 1.3125; }
 
                 map2.setView([50.93733, -1.39779], 19);
 
-                L.tileLayer('http://kanga-cb15g11.ecs.soton.ac.uk/sum/{z}/{x}/{y}.png', {
+                L.tileLayer('http://bus.southampton.ac.uk/graphics/map/tiles/{z}/{x}/{y}.png', {
                     maxZoom: 19
                 }).addTo(map2);
                 
@@ -247,7 +257,7 @@ h6 { font-size: 1em; line-height: 1.3125; }
-

sum

+

leaflet-soton

So far we have seen static maps, and slippy maps. But extra @@ -259,7 +269,8 @@ h6 { font-size: 1em; line-height: 1.3125; }

- The sum (TODO: Find better name) library allows you to add this + The + leaflet-soton library allows you to add this interactivity to the map with ease, its mainly clientside, with a small server side component. It handles everything from setting up Leaflet, to advanced interactive components. @@ -322,7 +333,7 @@ h6 { font-size: 1em; line-height: 1.3125; }

- The sum library also has an experimental indoor feature, you + The leaflet-soton library also has an experimental indoor feature, you can see a view of the library (level 2) on the left.

@@ -350,7 +361,7 @@ h6 { font-size: 1em; line-height: 1.3125; } var map2 = L.map('sum-carto').setView([50.93733, -1.39779], 19); - L.tileLayer('http://kanga-cb15g11.ecs.soton.ac.uk/sum/{z}/{x}/{y}.png', { + L.tileLayer('http://bus.southampton.ac.uk/graphics/map/tiles/{z}/{x}/{y}.png', { maxZoom: 22 }).addTo(map2); -- cgit v1.2.3