Skip to content

MapLayerOptionsBuilder🔗

Constructor🔗

new MapLayerOptionsBuilder()

Methods🔗

build🔗

Builds the object.

build()

config🔗

Custom options depending on the type

config(config: any)

filterData🔗

Defines a frame MatcherConfig that may filter data for the given layer

filterData(filterData: any)

location🔗

Common method to define geometry fields

location(location: cog.Builder<common.FrameGeometrySource>)

name🔗

configured unique display name

name(name: string)

opacity🔗

Common properties:

https://openlayers.org/en/latest/apidoc/module-ol_layer_Base-BaseLayer.html

Layer opacity (0-1)

opacity(opacity: number)

tooltip🔗

Check tooltip (defaults to true)

tooltip(tooltip: boolean)

type🔗

type(type: string)

See also🔗