diff options
| author | Claude Paroz <claude@2xlibre.net> | 2021-12-07 08:59:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-07 08:59:56 +0100 |
| commit | da7062be455e05bf4836f9462d79437a704f114f (patch) | |
| tree | 5c10915a2b4253a2ea13fa356de32ecfa1399be1 | |
| parent | 8747052411275d290b2152ffcb8dee11afbb82cd (diff) | |
Removed unused map_options JS variable.
map_options is not referenced at all in OLMapWidget.js.
Unused since 2ebfda38e65177dfc7d6e90457ffa4a0fa2796f0.
| -rw-r--r-- | django/contrib/gis/templates/gis/openlayers.html | 2 |
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 }}' }; |
