Merge pull request #2112 from elemoine/iconload
Icon image loading related exports
This commit is contained in:
+10
-1
@@ -4495,13 +4495,14 @@ olx.style.FillOptions.prototype.color;
|
||||
* anchorXUnits: (ol.style.IconAnchorUnits|undefined),
|
||||
* anchorYUnits: (ol.style.IconAnchorUnits|undefined),
|
||||
* crossOrigin: (null|string|undefined),
|
||||
* img: (Image|undefined),
|
||||
* origin: (Array.<number>|undefined),
|
||||
* scale: (number|undefined),
|
||||
* snapToPixel: (boolean|undefined),
|
||||
* rotateWithView: (boolean|undefined),
|
||||
* rotation: (number|undefined),
|
||||
* size: (ol.Size|undefined),
|
||||
* src: string}}
|
||||
* src: (string|undefined)}}
|
||||
* @todo api
|
||||
*/
|
||||
olx.style.IconOptions;
|
||||
@@ -4547,6 +4548,14 @@ olx.style.IconOptions.prototype.anchorYUnits;
|
||||
olx.style.IconOptions.prototype.crossOrigin;
|
||||
|
||||
|
||||
/**
|
||||
* Image object for the icon. If the `src` option is not provided then the
|
||||
* provided image must already be loaded.
|
||||
* @type {Image|undefined}
|
||||
*/
|
||||
olx.style.IconOptions.prototype.img;
|
||||
|
||||
|
||||
/**
|
||||
* The top left corner, which, together with the size, define the
|
||||
* sub-rectangle to use from the original icon image. Default value
|
||||
|
||||
Reference in New Issue
Block a user