View as Markdown

API reference: @salmonui/charts/geo-map

GeoMapTextinterface

import type { GeoMapText } from '@salmonui/charts/geo-map';
interface GeoMapText {
    readonly map: string;
    readonly movableMarker: string;
    readonly zoom: string;
    readonly zoomIn: string;
    readonly zoomOut: string;
    readonly resetZoom: string;
    readonly legend: string;
}

Built-in text of a GeoMap (text prop; the geoMap entry of a LocaleProvider catalog).

GeoMapText members (7)
NameSignatureDescription
mapreadonly map: string;

Name and role description of the map when there is no title. Default "Map".

movableMarkerreadonly movableMarker: string;

Role description of a draggable marker.

zoomreadonly zoom: string;

The zoom toolbar and its buttons.

zoomInreadonly zoomIn: string;
zoomOutreadonly zoomOut: string;
resetZoomreadonly resetZoom: string;
legendreadonly legend: string;