Removed unused map_options JS variable.

map_options is not referenced at all in OLMapWidget.js.

Unused since 2ebfda38e6.
This commit is contained in:
Claude Paroz 2021-12-07 08:59:56 +01:00 committed by GitHub
parent 8747052411
commit da7062be45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -13,7 +13,6 @@
{% if display_raw %}<p>{% translate "Debugging window (serialized value)" %}</p>{% endif %} {% 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> <textarea id="{{ id }}" class="vSerializedField required" cols="150" rows="10" name="{{ name }}">{{ serialized }}</textarea>
<script> <script>
{% block map_options %}var map_options = {};{% endblock %}
{% block base_layer %} {% block base_layer %}
var base_layer = new ol.layer.Tile({ var base_layer = new ol.layer.Tile({
source: new ol.source.XYZ({ source: new ol.source.XYZ({
@ -30,7 +29,6 @@
geom_name: '{{ geom_type }}', geom_name: '{{ geom_type }}',
id: '{{ id }}', id: '{{ id }}',
map_id: '{{ id }}_map', map_id: '{{ id }}_map',
map_options: map_options,
map_srid: {{ map_srid|unlocalize }}, map_srid: {{ map_srid|unlocalize }},
name: '{{ name }}' name: '{{ name }}'
}; };