Add docs for ol.source.ImageVector
This commit is contained in:
@@ -649,7 +649,8 @@
|
||||
* on.
|
||||
* @property {Array.<number>|undefined} resolutions Resolutions. If specified,
|
||||
* new canvases will be created for these resolutions only.
|
||||
* @property {ol.source.Vector} source Vector source.
|
||||
* @property {ol.source.Vector} source The vector source from which the vector
|
||||
* features drawn in canvas elements are read.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -17,6 +17,16 @@ goog.require('ol.vec.Mat4');
|
||||
|
||||
|
||||
/**
|
||||
* An image source whose images are canvas elements into which vector features
|
||||
* read from a vector source (`ol.source.Vector`) are drawn. An
|
||||
* `ol.source.ImageVector` object is to be used as the `source` of an image
|
||||
* layer (`ol.layer.Image`). Image layers are rotated, scaled, and translated,
|
||||
* as opposed to being re-rendered, during animations and interactions. So, like
|
||||
* any other image layer, an image layer configured with an
|
||||
* `ol.source.ImageVector` will exhibit this behaviour. This is in contrast to a
|
||||
* vector layer, where vector features are re-drawn during animations and
|
||||
* interactions.
|
||||
*
|
||||
* @constructor
|
||||
* @extends {ol.source.ImageCanvas}
|
||||
* @param {olx.source.ImageVectorOptions} options Options.
|
||||
|
||||
Reference in New Issue
Block a user