diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-05-26 11:57:21 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-05-26 11:57:21 +0100 |
commit | a04abdebaf280cbfbad65fabb2c64d88f9e3d72c (patch) | |
tree | 0adcfeb9a4e11737417eee488038b7894c9f50c2 /perllib/FixMyStreet/Map/Tilma/OpenLayers.pm | |
parent | 45f6e7e798b203df12938c4b06976fa310173093 (diff) |
Get header JS <script> out of code and into templates.
Diffstat (limited to 'perllib/FixMyStreet/Map/Tilma/OpenLayers.pm')
-rw-r--r-- | perllib/FixMyStreet/Map/Tilma/OpenLayers.pm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/perllib/FixMyStreet/Map/Tilma/OpenLayers.pm b/perllib/FixMyStreet/Map/Tilma/OpenLayers.pm index 96d0975f2..31e9eb096 100644 --- a/perllib/FixMyStreet/Map/Tilma/OpenLayers.pm +++ b/perllib/FixMyStreet/Map/Tilma/OpenLayers.pm @@ -14,15 +14,6 @@ sub TILE_WIDTH() { return $FixMyStreet::Map::map_class->tile_width; } sub SCALE_FACTOR() { return $FixMyStreet::Map::map_class->scale_factor; } sub TILE_TYPE() { return $FixMyStreet::Map::map_class->tile_type; } -sub header_js { - return ' -<script type="text/javascript" src="/jslib/OpenLayers-2.10/OpenLayers.js"></script> -<script type="text/javascript" src="/js/map-OpenLayers.js"></script> -<script type="text/javascript" src="/js/map-tilma-ol.js"></script> -<script type="text/javascript" src="/js/OpenLayers.Projection.OrdnanceSurvey.js"></script> -'; -} - # display_map C PARAMS # PARAMS include: # latitude, longitude for the centre point of the map |