Skip to main content

MarkerGlyphProps

Props for MarkerGlyph.

This is an interface exported by @mapcairn/map, checked against version 0.2.0.

Signature​

import type { MarkerGlyphProps } from "@mapcairn/map";

interface MarkerGlyphProps

Properties​

colour​

readonly colour: PaletteSlot;

The palette slot the marker is filled with.

radius​

readonly radius: number;

The radius the map draws it at, in CSS pixels.

shape​

readonly shape: MarkerShape;

The marker's shape: circle, square, triangle or diamond.

See also​

Source: packages/map/src/layers/MarkerGlyph.tsx:14