From a821c15c33c59bb8ff3bb5f5722a15f2ca527b6c Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 24 Nov 2010 19:32:17 +0000 Subject: Have FixMyStreet::Map return the JS it needs. --- perllib/FixMyStreet/Map.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'perllib/FixMyStreet/Map.pm') diff --git a/perllib/FixMyStreet/Map.pm b/perllib/FixMyStreet/Map.pm index 0aae808b9..315de0958 100644 --- a/perllib/FixMyStreet/Map.pm +++ b/perllib/FixMyStreet/Map.pm @@ -24,6 +24,12 @@ use constant TIF_SIZE_M => mySociety::Config::get('TILES_TIFF_SIZE_METRES'); use constant TIF_SIZE_PX => mySociety::Config::get('TILES_TIFF_SIZE_PIXELS'); use constant SCALE_FACTOR => TIF_SIZE_M / (TIF_SIZE_PX / TILE_WIDTH); +sub header_js { + return ' + +'; +} + # display_map Q PARAMS # PARAMS include: # EASTING, NORTHING for the centre point of the map -- cgit v1.2.3