Add "origin" option to ol.style.Image
This commit is contained in:
@@ -4365,6 +4365,7 @@ olx.style.FillOptions.prototype.color;
|
||||
* anchorXUnits: (ol.style.IconAnchorUnits|undefined),
|
||||
* anchorYUnits: (ol.style.IconAnchorUnits|undefined),
|
||||
* crossOrigin: (null|string|undefined),
|
||||
* origin: (Array.<number>|undefined),
|
||||
* scale: (number|undefined),
|
||||
* rotateWithView: (boolean|undefined),
|
||||
* rotation: (number|undefined),
|
||||
@@ -4415,6 +4416,15 @@ olx.style.IconOptions.prototype.anchorYUnits;
|
||||
olx.style.IconOptions.prototype.crossOrigin;
|
||||
|
||||
|
||||
/**
|
||||
* The top left corner, which, together with the size, define the
|
||||
* sub-rectangle to use from the original icon image. Default value
|
||||
* is `[0, 0]`.
|
||||
* @type {Array.<number>|undefined}
|
||||
*/
|
||||
olx.style.IconOptions.prototype.origin;
|
||||
|
||||
|
||||
/**
|
||||
* Scale.
|
||||
* @type {number|undefined}
|
||||
|
||||
Reference in New Issue
Block a user