Set snapToPixel to false in dynamic-data example
This commit is contained in:
@@ -23,6 +23,7 @@ var map = new ol.Map({
|
|||||||
|
|
||||||
var imageStyle = new ol.style.Circle({
|
var imageStyle = new ol.style.Circle({
|
||||||
radius: 5,
|
radius: 5,
|
||||||
|
snapToPixel: false,
|
||||||
fill: new ol.style.Fill({color: 'yellow'}),
|
fill: new ol.style.Fill({color: 'yellow'}),
|
||||||
stroke: new ol.style.Stroke({color: 'red', width: 1})
|
stroke: new ol.style.Stroke({color: 'red', width: 1})
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user