Module: Mask

Classes

Mask

Members

getRotation :undefined|function

Provide the rotation

Type:
  • undefined | function
Source:

Methods

getScale()

Provide scale (number) from FrameState

Source:

getSize()

Provide the size of type import('ol/size').Size

Source:

render(frameState) → {HTMLElement}

Render function. Takes the frame state as input and is expected to return an HTML element. Will overwrite the default rendering for the layer.

Parameters:
Name Type Description
frameState FrameState

Frame state

Source:
Returns:

The rendered element

Type
HTMLElement