mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Upgraded OpenLayers to v.7.2.2.
This commit is contained in:
@@ -33,7 +33,7 @@ QUnit.test('MapWidget.defaultCenter', function(assert) {
|
||||
'6.81,47.08',
|
||||
'Default center at 6.81, 47.08'
|
||||
);
|
||||
assert.equal(widget.map.getView().getZoom(), 17);
|
||||
assert.equal(Math.round(widget.map.getView().getZoom()), 17);
|
||||
});
|
||||
|
||||
QUnit.test('MapWidget.interactions', function(assert) {
|
||||
|
||||
@@ -157,7 +157,7 @@
|
||||
<textarea id="id_multipolygon" name="multipolygon" class="vSerializedField required"
|
||||
style="display:none;" rows="10" cols="150"></textarea>
|
||||
</div>
|
||||
<script src='https://cdnjs.cloudflare.com/ajax/libs/ol3/4.6.5/ol.js'></script>
|
||||
<script src='https://cdn.jsdelivr.net/npm/ol@v7.2.2/dist/ol.js'></script>
|
||||
<script src='../django/contrib/gis/static/gis/js/OLMapWidget.js' data-cover></script>
|
||||
<script src='./gis/mapwidget.test.js'></script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user