Skip to content
Snippets Groups Projects
Commit eb90411c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

overlay wrapping is disabled for Markers and data overlays

parent e7388c7a
No related branches found
No related tags found
2 merge requests!56112.1.4 into master,!555overlay wrapping is disabled for Markers and data overlays
Pipeline #8001 passed
minerva (12.1.4) stable; urgency=medium minerva (12.1.4) stable; urgency=medium
* Bug fix: there are no more extra markers due to map wrapping
* Bug fix: upload of the project failed when another project was removed * Bug fix: upload of the project failed when another project was removed
during upload during upload
......
...@@ -26,24 +26,28 @@ function OpenLayerCanvas(element, options) { ...@@ -26,24 +26,28 @@ function OpenLayerCanvas(element, options) {
self._markerLayer = new ol.layer.Vector({ self._markerLayer = new ol.layer.Vector({
source: new ol.source.Vector({ source: new ol.source.Vector({
wrapX: false,
features: [] features: []
}) })
}); });
self._rectangleLayer = new ol.layer.Vector({ self._rectangleLayer = new ol.layer.Vector({
source: new ol.source.Vector({ source: new ol.source.Vector({
wrapX: false,
features: [] features: []
}) })
}); });
self._polylineLayer = new ol.layer.Vector({ self._polylineLayer = new ol.layer.Vector({
source: new ol.source.Vector({ source: new ol.source.Vector({
wrapX: false,
features: [] features: []
}) })
}); });
self._drawingLayer = new ol.layer.Vector({ self._drawingLayer = new ol.layer.Vector({
source: new ol.source.Vector({ source: new ol.source.Vector({
wrapX: false,
features: [] features: []
}), }),
style: new ol.style.Style({ style: new ol.style.Style({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment