Export ol.style.Image
This commit is contained in:
@@ -624,6 +624,17 @@
|
||||
* @todo stability experimental
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} ol.style.ImageOptions
|
||||
* @property {Array.<number>} anchor Anchor.
|
||||
* @property {HTMLCanvasElement|HTMLVideoElement|Image} image Image.
|
||||
* @property {number} rotation Rotation.
|
||||
* @property {boolean|undefined} snapToPixel Whether the image should be
|
||||
* snapped to the closed pixel at rendering time.
|
||||
* @property {boolean} subtractViewRotation Whether the image should be
|
||||
* rotated with the view or not.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} ol.tilegrid.TileGridOptions
|
||||
* @property {number|undefined} minZoom Minimum zoom.
|
||||
|
||||
1
src/ol/style/imagestyle.exports
Normal file
1
src/ol/style/imagestyle.exports
Normal file
@@ -0,0 +1 @@
|
||||
@exportClass ol.style.Image ol.style.ImageOptions
|
||||
@@ -1,19 +1,8 @@
|
||||
// FIXME export ol.style.Image
|
||||
// FIXME decide default value for snapToPixel
|
||||
|
||||
goog.provide('ol.style.Image');
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{anchor: Array.<number>,
|
||||
* image: (HTMLCanvasElement|HTMLVideoElement|Image),
|
||||
* rotation: number,
|
||||
* snapToPixel: (boolean|undefined),
|
||||
* subtractViewRotation: boolean}}
|
||||
*/
|
||||
ol.style.ImageOptions;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
|
||||
Reference in New Issue
Block a user