Icon anchors are Array.<number>
This commit is contained in:
@@ -797,7 +797,7 @@
|
||||
|
||||
/**
|
||||
* @typedef {Object} olx.style.IconOptions
|
||||
* @property {ol.Pixel|undefined} anchor Anchor. Default value is [0.5, 0.5]
|
||||
* @property {Array.<number>|undefined} anchor Anchor. Default value is [0.5, 0.5]
|
||||
* (icon center).
|
||||
* @property {ol.style.IconAnchorUnits|undefined} anchorXUnits Units in which the anchor x value is specified.
|
||||
* A value of `'fraction'` indicates the x value is a fraction of the icon.
|
||||
|
||||
Reference in New Issue
Block a user