aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
diff options
context:
space:
mode:
authorSteven Day <steve@mysociety.org>2012-11-15 17:38:19 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-11-26 12:37:41 +0000
commit9714afa826567226900044ead02241d2454a0d34 (patch)
tree6d59a9f83279970fc605bd9bdc79aa75e78b0840 /web/js
parenta1427014691c56f50e4e80e00d62f773ec527151 (diff)
Use fixmystreet zoom level if set
Diffstat (limited to 'web/js')
-rw-r--r--web/js/map-wmts-zurich.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-wmts-zurich.js b/web/js/map-wmts-zurich.js
index 058938cd4..9e54f3b05 100644
--- a/web/js/map-wmts-zurich.js
+++ b/web/js/map-wmts-zurich.js
@@ -87,7 +87,7 @@ function init_zurich_map(after) {
centre.transform(
new OpenLayers.Projection("EPSG:4326"),
fixmystreet.map.getProjectionObject(),
- 7
+ fixmystreet.zoom || 5
);
fixmystreet.map.setCenter(centre);