From svnadmin@urchin.earth.li Thu Jul 5 22:33:52 2007 From: svnadmin@urchin.earth.li To: openguides-commits@lists.openguides.org Subject: [openguides-commits] r1113 - sites/oxford.openguides.org/templates Date: Thu, 05 Jul 2007 22:33:52 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2720857506866037889==" --===============2720857506866037889== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: dom Date: 2007-07-05 22:33:52 +0100 (Thu, 05 Jul 2007) New Revision: 1113 Modified: sites/oxford.openguides.org/templates/map_index.tt sites/oxford.openguides.org/templates/node.tt Log: Use tile.openstreetmap.org instead Modified: sites/oxford.openguides.org/templates/map_index.tt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sites/oxford.openguides.org/templates/map_index.tt 2007-07-05 21:19:19 UT= C (rev 1112) +++ sites/oxford.openguides.org/templates/map_index.tt 2007-07-05 21:33:52 UT= C (rev 1113) @@ -28,16 +28,16 @@ var map =3D new GMap2(document.getElementById("map")); =20 var copycol =3D new GCopyrightCollection(""); - var copy =3D new GCopyright(1, new GLatLngBounds(new GLatLng(-90,-180)= ,new GLatLng(90,180)), 0, "OpenStreetMap"); + var copy =3D new GCopyright(1, new GLatLngBounds(new GLatLng(-90,-180)= ,new GLatLng(90,180)), 0, "©2007 OpenStreetMap contributors"); copycol.addCopyright(copy); - var tileMapnik =3D new GTileLayer(copycol,1,17); - tileMapnik.myBaseURL =3D "http://mapnik.uberfoo.com/"; + var tileMapnik =3D new GTileLayer(copycol,1,18); + tileMapnik.myBaseURL =3D "http://tile.openstreetmap.org/"; tileMapnik.getTileUrl=3DMapnikGetTileUrl; tileMapnik.isPng =3D function () { return true;} tileMapnik.getOpacity =3D function() {return 1.0;} =20 var layer0 =3D [tileMapnik]; - var mapnikMap =3D new GMapType(layer0, G_SATELLITE_MAP.getProjection()= , "Mapnik", G_SATELLITE_MAP); + var mapnikMap =3D new GMapType(layer0, G_SATELLITE_MAP.getProjection()= , "OSM", G_SATELLITE_MAP); map.addMapType(mapnikMap); =20 map.addControl(new GLargeMapControl()); Modified: sites/oxford.openguides.org/templates/node.tt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sites/oxford.openguides.org/templates/node.tt 2007-07-05 21:19:19 UTC (re= v 1112) +++ sites/oxford.openguides.org/templates/node.tt 2007-07-05 21:33:52 UTC (re= v 1113) @@ -17,16 +17,16 @@ var map =3D new GMap2(document.getElementById("map")); new GKeyboardHandler(map); var copycol =3D new GCopyrightCollection(""); - var copy =3D new GCopyright(1, new GLatLngBounds(new GLatLng(-90,-180),n= ew GLatLng(90,180)), 0, "OpenStreetMap"); + var copy =3D new GCopyright(1, new GLatLngBounds(new GLatLng(-90,-180),n= ew GLatLng(90,180)), 0, "OpenStreetMa= p"); copycol.addCopyright(copy); - var tileMapnik =3D new GTileLayer(copycol,1,17); - tileMapnik.myBaseURL =3D "http://mapnik.uberfoo.com/"; + var tileMapnik =3D new GTileLayer(copycol,1,18); + tileMapnik.myBaseURL =3D "http://tile.openstreetmap.org/"; tileMapnik.getTileUrl=3DMapnikGetTileUrl; tileMapnik.isPng =3D function () { return true;} tileMapnik.getOpacity =3D function() {return 1.0;} =20 var layer0 =3D [tileMapnik]; - var mapnikMap =3D new GMapType(layer0, G_SATELLITE_MAP.getProjection(), = "Mapnik", G_SATELLITE_MAP); + var mapnikMap =3D new GMapType(layer0, G_SATELLITE_MAP.getProjection(), = "OSM", G_SATELLITE_MAP); map.addMapType(mapnikMap); =20 =20 --===============2720857506866037889==--