Skip to content

MapLayerOptions🔗

Constructor🔗

MapLayerOptions()

Methods🔗

build🔗

Builds the object.

def build() -> common.MapLayerOptions

config🔗

Custom options depending on the type

def config(config: object) -> typing.Self

filter_data🔗

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

def filter_data(filter_data: object) -> typing.Self

location🔗

Common method to define geometry fields

def location(location: cogbuilder.Builder[common.FrameGeometrySource]) -> typing.Self

name🔗

configured unique display name

def name(name: str) -> typing.Self

opacity🔗

Common properties:

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

Layer opacity (0-1)

def opacity(opacity: int) -> typing.Self

tooltip🔗

Check tooltip (defaults to true)

def tooltip(tooltip: bool) -> typing.Self

type_val🔗

def type_val(type_val: str) -> typing.Self

See also🔗