initial commit
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kml xmlns="http://earth.google.com/kml/{% block kml_version %}2.1{% endblock %}">
|
||||
<Document>{% block name %}{% endblock %}
|
||||
{% block placemarks %}{% endblock %}
|
||||
</Document>
|
||||
</kml>
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
{% extends "gis/kml/base.kml" %}
|
||||
{% block placemarks %}{% for place in places %}
|
||||
<Placemark>
|
||||
<name>{% if place.name %}{{ place.name }}{% else %}{{ place }}{% endif %}</name>
|
||||
<description>{% if place.description %}{{ place.description }}{% else %}{{ place }}{% endif %}</description>
|
||||
{{ place.kml|safe }}
|
||||
</Placemark>{% endfor %}{% endblock %}
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
{% load i18n %}
|
||||
|
||||
<div id="{{ widget.attrs.id }}_div_map" class="dj_map_wrapper">
|
||||
<div id="{{ widget.attrs.id }}_map" class="dj_map"></div>
|
||||
{% if not disabled %}<span class="clear_features"><a href="">{% translate "Delete all Features" %}</a></span>{% endif %}
|
||||
{% if widget.attrs.display_raw %}<p>{% translate "Debugging window (serialized value)" %}</p>{% endif %}
|
||||
<textarea id="{{ widget.attrs.id }}" class="vSerializedField required" cols="150" rows="10" name="{{ widget.name }}"
|
||||
{% if not widget.attrs.display_raw %} hidden{% endif %}>{{ serialized }}</textarea>
|
||||
{% with script_id=widget.attrs.id|add:"_mapwidget_options" %}
|
||||
{{ widget.attrs|json_script:script_id }}
|
||||
{% endwith %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user