aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-wmts-zurich.js
diff options
context:
space:
mode:
authorstevenday <steve@mysociety.org>2012-11-22 16:50:02 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-11-26 12:47:10 +0000
commita6a42abed9dd134169d2db3d55de555951ca319f (patch)
treeb511a46053783c331cf88d3b0b6b285be9cb9bb9 /web/js/map-wmts-zurich.js
parent2d75d6957ee3a85bd3f11405f8530f4d4bb336bd (diff)
Work more on the non-js maps, and tidy js version source
Diffstat (limited to 'web/js/map-wmts-zurich.js')
-rw-r--r--web/js/map-wmts-zurich.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/web/js/map-wmts-zurich.js b/web/js/map-wmts-zurich.js
index 231b87786..8723d557c 100644
--- a/web/js/map-wmts-zurich.js
+++ b/web/js/map-wmts-zurich.js
@@ -12,9 +12,6 @@ function init_zurich_map(after) {
projection: new OpenLayers.Projection("EPSG:21781"),
displayProjection: new OpenLayers.Projection("EPSG:21781"),
maxExtent: new OpenLayers.Bounds(676000,241000,690000,255000),
- //projection: new OpenLayers.Projection("EPSG:4326"),
- //displayProjection: new OpenLayers.Projection("EPSG:4326"),
- //maxExtent: new OpenLayers.Bounds(8.444933818976226,47.31509040172551,8.632922236617937,47.442777990747416),
units: 'm',
scales: [ '250000', '125000', '64000', '32000', '16000', '8000', '4000', '2000', '1000', '500'],
controls: fixmystreet.controls
@@ -47,7 +44,6 @@ function init_zurich_map(after) {
// For some reason with OpenLayers 2.11 the format
// returns a KVP url not a REST one, despite the settings
// we have above, so for now I'm hardcoding the right one
- //layer.url = layer.url.replace('arcgis/rest/services/', '');
layer.url = "http://www.wmts.stadt-zuerich.ch/Luftbild/MapServer/WMTS/tile/";
fixmystreet.map.addLayer(layer);