Interface: MapData
Defined in: spec/types.ts:257
Attribute dataset attached to a geojson source.
Decouples geometry (in sources[]) from values, so the same geometry
can be reused with multiple datasets, and values can be mutated
independently from features.
Properties
data
data:
MapDataRow[]
Defined in: spec/types.ts:268
description?
optionaldescription?:string
Defined in: spec/types.ts:262
joinKey?
optionaljoinKey?:string
Defined in: spec/types.ts:267
Property name on each feature used to match data[].geometryId.
Defaults to using feature.id when omitted.
mapDataId
mapDataId:
string
Defined in: spec/types.ts:258
mapId
mapId:
string
Defined in: spec/types.ts:260
FK to sources[].id of a geojson source.
title?
optionaltitle?:string
Defined in: spec/types.ts:261