diff options
author | Steven Day <steve@mysociety.org> | 2012-11-14 11:45:03 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-11-26 12:37:37 +0000 |
commit | 05c1895db42c62481d7217f4cf8eb5f8089b7a75 (patch) | |
tree | b8d3c72df936ef1908c21b54b9050c764ac6a7ad /perllib/FixMyStreet/Map | |
parent | 41576452fe7e5ccc73ec6a8ff9c2e675cd1806f3 (diff) |
Add Zurich map module
Diffstat (limited to 'perllib/FixMyStreet/Map')
-rw-r--r-- | perllib/FixMyStreet/Map/Zurich.pm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Map/Zurich.pm b/perllib/FixMyStreet/Map/Zurich.pm new file mode 100644 index 000000000..da234bdd1 --- /dev/null +++ b/perllib/FixMyStreet/Map/Zurich.pm @@ -0,0 +1,25 @@ +#!/usr/bin/perl +# +# FixMyStreet:Map::Zurich +# Zurich have their own tileserver serving aerial photos instead +# of street maps. +# +# Copyright (c) 2012 UK Citizens Online Democracy. All rights reserved. +# Email: steve@mysociety.org; WWW: http://www.mysociety.org/ + +package FixMyStreet::Map::Zurich; +use base 'FixMyStreet::Map::FMS'; + +use strict; + +sub map_type { + return 'OpenLayers.Layer.WMTS_18'; +} + +sub map_tile_base { + 'http://www.wmts.stadt-zuerich.ch/Luftbild/MapServer/WMTS/tile/1.0.0/Luftbild'; +} + +# TODO - we need to use swiss coordinate system, projection: EPSG:4326ß + +1;
\ No newline at end of file |