Class: Style

ol.style.Style

Base class for vector feature rendering styles.

new ol.style.Style(opt_options) experimental

Name Type Description
options

Style options.

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

Fill style.

image ol.style.Image | undefined experimental

Image style.

stroke ol.style.Stroke | undefined experimental

Stroke style.

text ol.style.Text | undefined experimental

Text style.

zIndex number | undefined experimental

Z index.

Methods

getFill(){ol.style.Fill} experimental

Returns:
Fill style.

getImage(){ol.style.Image} experimental

Returns:
Image style.

getStroke(){ol.style.Stroke} experimental

Returns:
Stroke style.

getText(){ol.style.Text} experimental

Returns:
Text style.

getZIndex(){number|undefined} experimental

Returns:
ZIndex.