Merge pull request #10007 from mike-000/patch-1

Changes for #9395 CircleStyle inconsistency
This commit is contained in:
Andreas Hocevar
2019-09-26 18:46:24 +02:00
committed by GitHub
5 changed files with 73 additions and 20 deletions
@@ -393,23 +393,21 @@ describe('ol.renderer.canvas.VectorLayer', function() {
geometry: new Circle([7.5, 7.5], 1.5),
fillType: 'transparent'
}),
// CircleStyle transparent and no fill hit detection
// is currently the opposite of ol/Style
new Feature({
geometry: new Point([1.5, 1.5]),
fillType: 'transparent'
fillType: 'none'
}),
new Feature({
geometry: new Point([2.5, 2.5]),
fillType: 'transparent'
fillType: 'none'
}),
new Feature({
geometry: new Point([6.5, 1.5]),
fillType: 'none'
fillType: 'transparent'
}),
new Feature({
geometry: new Point([7.5, 2.5]),
fillType: 'none'
fillType: 'transparent'
})
]
});