ol.style.Style

new Style

Stability: experimental
Parameters:
Name Type Argument Description
options olx.style.StyleOptions <optional>

Style options.

Properties
Name Type Description
fill ol.style.Fill | undefined

Fill style.

image ol.style.Image | undefined

Image style.

stroke ol.style.Stroke | undefined

Stroke style.

text ol.style.Text | undefined

Text style.

zIndex number | undefined

Z index.

Source:
  • style.js, line 13

Methods

getFill

Stability: experimental
Source:
  • style.js, line 54
Returns:

Fill style.

Type
ol.style.Fill

getImage

Stability: experimental
Source:
  • style.js, line 63
Returns:

Image style.

Type
ol.style.Image

getStroke

Stability: experimental
Source:
  • style.js, line 72
Returns:

Stroke style.

Type
ol.style.Stroke

getText

Stability: experimental
Source:
  • style.js, line 81
Returns:

Text style.

Type
ol.style.Text

getZIndex

Stability: experimental
Source:
  • style.js, line 90
Returns:

ZIndex.

Type
number | undefined