Commit eb90411c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

overlay wrapping is disabled for Markers and data overlays

parent e7388c7a
Pipeline #8001 passed with stage
in 1 minute and 58 seconds
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
during upload
......
......@@ -26,24 +26,28 @@ function OpenLayerCanvas(element, options) {
self._markerLayer = new ol.layer.Vector({
source: new ol.source.Vector({
wrapX: false,
features: []
})
});
self._rectangleLayer = new ol.layer.Vector({
source: new ol.source.Vector({
wrapX: false,
features: []
})
});
self._polylineLayer = new ol.layer.Vector({
source: new ol.source.Vector({
wrapX: false,
features: []
})
});
self._drawingLayer = new ol.layer.Vector({
source: new ol.source.Vector({
wrapX: false,
features: []
}),
style: new ol.style.Style({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment