MapFeature
One point of a feed layer, with its look already worked out from the layer's style, so the adapter draws without knowing any style rule.
This is an interface exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { MapFeature } from "@mapcairn/core";
interface MapFeature
Properties
colour
readonly colour: string;
A hex colour, such as #e69f00.
id
readonly id: string;
Unique among the features of one layer. It names the feature in a tap.
position
readonly position: LatLng;
Where the point is drawn.
radius
readonly radius: number;
Radius in CSS pixels.
shape
readonly shape: MarkerShape;
The marker's shape.