241
|
1 |
{% extends "qmsk.pngtile/view.html" %}
|
|
2 |
{% load staticfiles %}
|
|
3 |
|
|
4 |
{% block head %}
|
|
5 |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css">
|
|
6 |
<link rel="stylesheet" href="{% static "qmsk.pngtile/map.css" %}">
|
|
7 |
{% endblock %}
|
|
8 |
|
|
9 |
{% block content %}
|
|
10 |
<div id="map">
|
|
11 |
|
|
12 |
</div>
|
|
13 |
{% endblock %}
|
|
14 |
|
|
15 |
{% block body %}
|
|
16 |
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
|
|
17 |
<script src="{% static "qmsk.pngtile/map.js" %}"></script>
|
|
18 |
<script>
|
|
19 |
$(function () {
|
|
20 |
map_init({{map_config|safe}});
|
|
21 |
});
|
|
22 |
</script>
|
|
23 |
{% endblock %}
|