aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Default.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-05-25 18:07:20 +0100
committerStruan Donald <struan@exo.org.uk>2012-05-25 18:07:20 +0100
commit6b26b7ec133eb9bdd4a9bed45477ec6d9d78304c (patch)
tree24cc24b1536ea4bdd6fa717a5a268d85ddad3325 /perllib/FixMyStreet/Cobrand/Default.pm
parent0ff2c1689fafab7ed533b3989075c34f3c1a8779 (diff)
parent5ab9f3916e43372a89dd78740b752de2c7cf2552 (diff)
Merge remote-tracking branch 'origin/bromley' into bromley
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Default.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm
index c0a0b1ff7..7a82d728d 100644
--- a/perllib/FixMyStreet/Cobrand/Default.pm
+++ b/perllib/FixMyStreet/Cobrand/Default.pm
@@ -351,6 +351,17 @@ Return the title to be used in page heads.
sub site_title { 'FixMyStreet' }
+=head2 map_type
+
+Return an override type of map if necessary.
+
+=cut
+sub map_type {
+ my $self = shift;
+ return 'OSM' if $self->{c}->req->uri->host =~ /^osm\./;
+ return;
+}
+
=head2 on_map_list_limit
Return the maximum number of items to be given in the list of reports on the map