Forward-compatibility escape hatch for engine-specific options.
OptionalvisibleWhether the layer is rendered on the map.
OptionalopacityLayer opacity. Range: 0 (transparent) … 1 (opaque).
OptionalzStacking order relative to other layers. Higher = on top.
OptionalinteractiveWhether the layer responds to pointer events.
OptionalattributionHTML string shown in the attribution control.
OptionalclusterEnable MapLibre native Supercluster on this GeoJSON source (Point layers only).
OptionalclusterCluster radius in pixels.
OptionalclusterMax zoom at which clusters are generated.
OptionalminLowest zoom at which the layer renders — a MapLibre ZOOM LEVEL (0-24), not a scale
denominator. Profiles express the constraint as scaleConfig.minScale (1:X); the
loader converts it with scaleToZoom(scale, lat) before it reaches the adapter.
Distinct from clusterMaxZoom, which is a Supercluster threshold on the SOURCE, not a rendering bound on the layer.
OptionalmaxHighest zoom at which the layer renders — a zoom level, see minZoom.
Common options for GeoJSON and vector layers.
The index signature allows adapters to accept engine-specific style overrides from advanced callers without losing type safety on the known properties.