diff options
Diffstat (limited to 'templates/web/default/maps/tilma')
-rw-r--r-- | templates/web/default/maps/tilma/openlayers.html | 9 | ||||
-rw-r--r-- | templates/web/default/maps/tilma/original.html | 7 |
2 files changed, 16 insertions, 0 deletions
diff --git a/templates/web/default/maps/tilma/openlayers.html b/templates/web/default/maps/tilma/openlayers.html index 5ee7b207e..c8ae53bfe 100644 --- a/templates/web/default/maps/tilma/openlayers.html +++ b/templates/web/default/maps/tilma/openlayers.html @@ -1,3 +1,11 @@ +[% map_js = BLOCK %] +<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> +[% END %] + +[% map_html = BLOCK %] <script type="text/javascript"> var fixmystreet = { 'tilewidth': [% map.tilewidth %], @@ -15,3 +23,4 @@ var fixmystreet = { [% '<div id="watermark"></div>' IF map.watermark %] </div> <p id="copyright">[% map.copyright %]</p> +[% END %] diff --git a/templates/web/default/maps/tilma/original.html b/templates/web/default/maps/tilma/original.html index 546e027dc..e02a974f8 100644 --- a/templates/web/default/maps/tilma/original.html +++ b/templates/web/default/maps/tilma/original.html @@ -1,3 +1,9 @@ +[% map_js = BLOCK %] +<script type="text/javascript" src="/js/map-tilma.js"></script> +[% END %] + +[% map_html = BLOCK %] + [% IF !map.tiles %] <div id="map_box"> <div id="map"><div id="drag"> @@ -39,6 +45,7 @@ var fixmystreet = { [% INCLUDE compass %] </div> <p id="copyright">[% map.copyright %]</p> +[% END %] [% BLOCK pin %] |