Add ol.style.Image.size property

This commit is contained in:
Frederic Junod
2013-11-21 13:55:14 +01:00
parent c715764680
commit db8f476098
5 changed files with 45 additions and 10 deletions

View File

@@ -45,6 +45,7 @@ ol.shape.renderCircle = function(radius, fillStyle, strokeStyle) {
return new ol.style.Image({
anchor: [size / 2, size / 2],
size: [size, size],
image: canvas,
rotation: 0,
snapToPixel: undefined,