aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map/Google.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-11-15 17:35:29 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-11-15 17:35:29 +0000
commitdb75de1ca7268692215dc79f157d61ab7d66fa8e (patch)
treecb2095aa1f8466919b25674c35f7b8d1bbbabcde /perllib/FixMyStreet/Map/Google.pm
parent52ab72ad43b391b0f3b6f7385b5ba723cc1a4aba (diff)
parentf59e12ee3fa9c65f178a300954586f6ac91bba79 (diff)
Merge branch '1901-js-deferring'
Updated geolocation.js with concurrent changes.
Diffstat (limited to 'perllib/FixMyStreet/Map/Google.pm')
-rw-r--r--perllib/FixMyStreet/Map/Google.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Map/Google.pm b/perllib/FixMyStreet/Map/Google.pm
index 8ddf4f4e9..f40eff167 100644
--- a/perllib/FixMyStreet/Map/Google.pm
+++ b/perllib/FixMyStreet/Map/Google.pm
@@ -13,6 +13,11 @@ use Utils;
use constant ZOOM_LEVELS => 6;
use constant MIN_ZOOM_LEVEL => 13;
+sub map_javascript { [
+ "http://maps.googleapis.com/maps/api/js?sensor=false",
+ '/js/map-google.js',
+] }
+
# display_map C PARAMS
# PARAMS include:
# latitude, longitude for the centre point of the map