From 2992b617968aa7d9b254673eb26283066af5ad56 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 11 May 2012 10:44:51 +0100 Subject: Different map base for Bromley. --- perllib/FixMyStreet/Map/Bromley.pm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 perllib/FixMyStreet/Map/Bromley.pm (limited to 'perllib/FixMyStreet/Map/Bromley.pm') diff --git a/perllib/FixMyStreet/Map/Bromley.pm b/perllib/FixMyStreet/Map/Bromley.pm new file mode 100644 index 000000000..6d9dfa742 --- /dev/null +++ b/perllib/FixMyStreet/Map/Bromley.pm @@ -0,0 +1,23 @@ +#!/usr/bin/perl +# +# FixMyStreet:Map::Bromley +# Bromley have slightly different tiles, with trees etc. +# +# Copyright (c) 2012 UK Citizens Online Democracy. All rights reserved. +# Email: matthew@mysociety.org; WWW: http://www.mysociety.org/ + +package FixMyStreet::Map::Bromley; +use base 'FixMyStreet::Map::FMS'; + +use strict; + +sub map_type { + my $self = shift; + return '"' . $self->map_tile_base . '"'; +} + +sub map_tile_base { + return "tilma.mysociety.org/bromley"; +} + +1; -- cgit v1.2.3