MarkerGlyph
The marker a layer draws for a feature, as a small picture for the legend, the list and the card, so words and map look the same: the fill over a dark edge over a white halo, which shows on a light surface (the edge) and a dark one (the halo) alike. Decorative: the words beside it carry the meaning. Colours are SVG attributes, not styles, so they need nothing from the Content-Security-Policy.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { MarkerGlyph } from "@mapcairn/map";
function MarkerGlyph(input: MarkerGlyphProps): JSX.Element;
Parameters
{ shape, colour, radius }input(MarkerGlyphProps)
Returns
JSX.Element