ol.source. ol.source.ImageVector

new ImageVector

Stability: experimental

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.

Parameters:
Name Type Description
options olx.source.ImageVectorOptions

Options.

Source:
  • imagevectorsource.js, line 35

Extends