MapLayerOptions🔗
Definition🔗
class MapLayerOptions:
type_val: str
# configured unique display name
name: str
# Custom options depending on the type
config: typing.Optional[object]
# Common method to define geometry fields
location: typing.Optional[common.FrameGeometrySource]
# Defines a frame MatcherConfig that may filter data for the given layer
filter_data: typing.Optional[object]
# Common properties:
# https://openlayers.org/en/latest/apidoc/module-ol_layer_Base-BaseLayer.html
# Layer opacity (0-1)
opacity: typing.Optional[int]
# Check tooltip (defaults to true)
tooltip: typing.Optional[bool]
Methods🔗
to_json🔗
Converts this object into a representation that can easily be encoded to JSON.
from_json🔗
Builds this object from a JSON-decoded dict.