summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/contrib/gis/templates/gis/openlayers.html2
1 files changed, 0 insertions, 2 deletions
diff --git a/django/contrib/gis/templates/gis/openlayers.html b/django/contrib/gis/templates/gis/openlayers.html
index 128654d5aa..fa336469b8 100644
--- a/django/contrib/gis/templates/gis/openlayers.html
+++ b/django/contrib/gis/templates/gis/openlayers.html
@@ -13,7 +13,6 @@
{% if display_raw %}<p>{% translate "Debugging window (serialized value)" %}</p>{% endif %}
<textarea id="{{ id }}" class="vSerializedField required" cols="150" rows="10" name="{{ name }}">{{ serialized }}</textarea>
<script>
- {% block map_options %}var map_options = {};{% endblock %}
{% block base_layer %}
var base_layer = new ol.layer.Tile({
source: new ol.source.XYZ({
@@ -30,7 +29,6 @@
geom_name: '{{ geom_type }}',
id: '{{ id }}',
map_id: '{{ id }}_map',
- map_options: map_options,
map_srid: {{ map_srid|unlocalize }},
name: '{{ name }}'
};