aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map/Bromley.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-05-11 13:20:26 +0100
committerStruan Donald <struan@exo.org.uk>2012-05-11 13:20:26 +0100
commit2b93b526a5e8acf48e4ee112e2f5feb8436be1d2 (patch)
treeec10fdced7c8748684f3cd16a07f6eb23e324b11 /perllib/FixMyStreet/Map/Bromley.pm
parent5accaad402d24f37851d8b85084fda2859b1ae16 (diff)
parentbeca2f7f8c96260541387d7135235f72ac86565b (diff)
Merge remote-tracking branch 'origin/bromley' into bromley
Diffstat (limited to 'perllib/FixMyStreet/Map/Bromley.pm')
-rw-r--r--perllib/FixMyStreet/Map/Bromley.pm23
1 files changed, 23 insertions, 0 deletions
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;