Type Alias AbstractMarker
type AbstractMarker = {
features: MapGeoJSONFeature[];
id: number;
internalElementSize: [number, number];
position: [number, number];
size: [number, number];
}
features: MapGeoJSONFeature[];
id: number;
internalElementSize: [number, number];
position: [number, number];
size: [number, number];
}
Index
Properties
Properties
features
features: MapGeoJSONFeature[]
The feature represented by the marker
id
id: number
Unique ID of a marker, most likely the ID of a geojson feature (from a vector tile)
internalElementSize
internalElementSize: [number, number]
Size of each internal elements (useful for when a marker contain information about multiple feature)
position
position: [number, number]
Position in screenspace of the top-left corner [x, y]
size
size: [number, number]
Size in screen space [width, height]
Minimalist set of properties that represent a marker