diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-03-12 13:42:46 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-03-12 13:42:46 +0000 |
commit | b7f1a7993f96619e5dc25e05874298b6d3b7f98d (patch) | |
tree | c54950f0472e2b3fde47be4e39a444b9c8cd789a /web/js | |
parent | 6620bb58bcb869fd1f73cbd5a5843de5f9e13444 (diff) |
Use internal proxy for maps for now.
Diffstat (limited to 'web/js')
-rw-r--r-- | web/js/map-wmts-zurich.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/js/map-wmts-zurich.js b/web/js/map-wmts-zurich.js index 9fed68b8a..cfff686e6 100644 --- a/web/js/map-wmts-zurich.js +++ b/web/js/map-wmts-zurich.js @@ -93,7 +93,7 @@ $(function(){ layer: "Hybrid", matrixSet: "nativeTileMatrixSet", requestEncoding: "REST", - url: "http://www.wmts.stadt-zuerich.ch/Hybrid/MapServer/WMTS/tile/", + url: "/maps/Hybrid/", style: "default", matrixIds: [ //{ identifier: "0", matrixHeight: 2, matrixWidth: 2, scaleDenominator: 250000, supportedCRS: "urn:ogc:def:crs:EPSG::21781", tileHeight: 256, tileWidth: 256, topLeftCorner: { lat: 30814423, lon: -29386322 } }, @@ -112,7 +112,7 @@ $(function(){ layer_options, OpenLayers.Util.applyDefaults({ name: "Stadtplan", layer: "Stadtplan", - url: "http://www.wmts.stadt-zuerich.ch/Stadtplan/MapServer/WMTS/tile/" + url: "/maps/Stadtplan/" }, layer_options) ]; |