diff options
Diffstat (limited to 'design/templates/archives/map.html')
-rw-r--r-- | design/templates/archives/map.html | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/design/templates/archives/map.html b/design/templates/archives/map.html index 3c644eb..c36817a 100644 --- a/design/templates/archives/map.html +++ b/design/templates/archives/map.html @@ -9,14 +9,21 @@ Google Maps code ==============================================#} {% block extrahead %} + <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.css" /> + <!--[if lte IE 8]> + <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.5/leaflet.ie.css" /> + <![endif]--> + <script src="http://cdn.leafletjs.com/leaflet-0.5/leaflet.js"></script> + + <style> + #map-canvas img{ border: none;} + </style> + -<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> -<script type="text/javascript" src="{{MEDIA_URL}}js/mainmap.min.js"></script> {% endblock %} -{%block bodyid%}id="map" {%endblock%} -{% block bodyevents %}onload="initialize()"{% endblock %} +{%block bodyid%}id="map"{%endblock%} {% block primary %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> <li><a href="/" itemprop="url" title="luxagraf homepage"><span itemprop="title">Home</span></a> →</li> @@ -24,7 +31,10 @@ Google Maps code </ul> <section> <h1 class="hide">Browse luxagraf by map</h1> - <div id="map-canvas"></div> + <div id="map-canvas"> + <div id="map-inner-canvas" style="width: 100%; height: 100%; border: none !important;"></div> + </div> + <div class="map-legend"> <h4>Trips</h4> <ul> @@ -47,4 +57,7 @@ Google Maps code </ul> </div> </section> + <!--<script type="text/javascript" src="{{MEDIA_URL}}js/mainmap.min.js"></script>--> +<script type="text/javascript" src="{{MEDIA_URL}}js/leaflet-providers.js"></script> +<script type="text/javascript" src="{{MEDIA_URL}}js/mainmap.js"></script> {% endblock %} |