Interface: FlatMapViewOptions
Defined in: FlatMapView.ts:19
Properties
canvas?
ts
optional canvas?: HTMLCanvasElement;Defined in: FlatMapView.ts:20
width?
ts
optional width?: number;Defined in: FlatMapView.ts:21
height?
ts
optional height?: number;Defined in: FlatMapView.ts:22
padding?
ts
optional padding?: number;Defined in: FlatMapView.ts:23
background?
ts
optional background?: string;Defined in: FlatMapView.ts:24
fillStyle?
ts
optional fillStyle?: string;Defined in: FlatMapView.ts:25
strokeStyle?
ts
optional strokeStyle?: string;Defined in: FlatMapView.ts:26
hoverStyle?
ts
optional hoverStyle?: string;Defined in: FlatMapView.ts:27
selectionStyle?
ts
optional selectionStyle?: string;Defined in: FlatMapView.ts:28
pointRadius?
ts
optional pointRadius?: number;Defined in: FlatMapView.ts:29
autoRender?
ts
optional autoRender?: boolean;Defined in: FlatMapView.ts:30
fit?
ts
optional fit?: "contain" | "stretch";Defined in: FlatMapView.ts:37
How map coordinates fill the drawable area (canvas minus padding). 'contain' (default) scales both axes equally and centres the map, so shapes, distances and drawn ROIs are not distorted. 'stretch' scales x and y independently to fill the area (the earlier behaviour).