Skip to content

MapLayerOptionsBuilder🔗

Constructor🔗

new MapLayerOptionsBuilder()

Methods🔗

build🔗

Builds the object.

build()

config🔗

Custom options depending on the type

@param mixed $config

config($config)

filterData🔗

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

@param mixed $filterData

filterData($filterData)

location🔗

Common method to define geometry fields

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Common\FrameGeometrySource> $location

location(\Grafana\Foundation\Cog\Builder $location)

name🔗

configured unique display name

name(string $name)

opacity🔗

Common properties:

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

Layer opacity (0-1)

opacity(int $opacity)

tooltip🔗

Check tooltip (defaults to true)

tooltip(bool $tooltip)

type🔗

type(string $type)

See also🔗