Commits

Erik Simmler committed 36fc896

Added a static fallback to map.html

Comments (0)

Files changed (1)

easy_maps/templates/easy_maps/map.html

             style="width: {{ width }}px; height: {{ height }}px;"
          {% endif %}
          class="easy-map-googlemap">
+         <noscript>
+            <img alt="Map of {{ map.address }}" src="http://maps.google.com/maps/api/staticmap?center={{ map.longitude }},{{ latitude }}&zoom={{ zoom }}&markers={{ map.address }}&size={{ width }}x{{ height }}&sensor=false">
+         </noscript>
     </div>
 {% endblock %}