Add rotateWithView option to ol.style.RegularShape

This commit is contained in:
Frederic Junod
2016-01-20 17:18:09 +01:00
parent 7d168cb6e2
commit aec4e468e3
3 changed files with 24 additions and 1 deletions
+9
View File
@@ -6266,6 +6266,7 @@ olx.style.IconOptions.prototype.src;
* snapToPixel: (boolean|undefined),
* stroke: (ol.style.Stroke|undefined),
* rotation: (number|undefined),
* rotateWithView: (boolean|undefined),
* atlasManager: (ol.style.AtlasManager|undefined)}}
* @api
*/
@@ -6353,6 +6354,14 @@ olx.style.RegularShapeOptions.prototype.stroke;
olx.style.RegularShapeOptions.prototype.rotation;
/**
* Whether to rotate the shape with the view. Default is `false`.
* @type {boolean|undefined}
* @api
*/
olx.style.RegularShapeOptions.prototype.rotateWithView;
/**
* The atlas manager to use for this symbol. When using WebGL it is
* recommended to use an atlas manager to avoid texture switching.