Interface LayerDefinition<F, L>

Type Parameters

  • F extends Feature = Feature

  • L = any

Hierarchy

Properties

feature: F

A vector layer object in geojson format.

getBounds: (() => LngLatBoundsArray)

Type declaration

getCenter: (() => LngLatArray)

Type declaration

layer?: L

Native layer for a specific adapter layers of a specific map adapter.

target: LayerAdapter<any, any, AdapterOptions<Record<string, any>, Record<string, any>>>

The adapter in which the layer is created.

visible?: boolean

Is layer on the map

Generated using TypeDoc