diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-10-11 19:20:25 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-10-11 19:41:32 +0100 |
commit | 7a15b976f8e72cccc55fcb452aacc21f68b7e165 (patch) | |
tree | b21415d5e9aa1b11c91caf8b7699b7637efdf17d /perllib/FixMyStreet/Map | |
parent | 0407e599b3dff6ac04f89acb12a4727ee3d481bc (diff) |
Add Google OpenLayers-based map layer.
Diffstat (limited to 'perllib/FixMyStreet/Map')
-rw-r--r-- | perllib/FixMyStreet/Map/GoogleOL.pm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Map/GoogleOL.pm b/perllib/FixMyStreet/Map/GoogleOL.pm new file mode 100644 index 000000000..64baf8d36 --- /dev/null +++ b/perllib/FixMyStreet/Map/GoogleOL.pm @@ -0,0 +1,22 @@ +#!/usr/bin/perl +# +# FixMyStreet:Map::GoogleOL +# Google maps on FixMyStreet, using OpenLayers. +# +# Copyright (c) 2013 UK Citizens Online Democracy. All rights reserved. +# Email: matthew@mysociety.org; WWW: http://www.mysociety.org/ + +package FixMyStreet::Map::GoogleOL; +use parent 'FixMyStreet::Map::OSM'; + +use strict; + +sub map_type { + return '""'; +} + +sub map_template { + return 'google-ol'; +} + +1; |