Skip to content

Interface: QuantitativeFlatMapAttachment ​

Defined in: FlatMapView.ts:14

Optional quantitative provider. Construct one from surfview/flatmap to attach it.

Methods ​

paint() ​

ts
paint(context): void;

Defined in: FlatMapView.ts:15

Parameters ​

context ​

CanvasRenderingContext2D

Returns ​

void


paintSelection() ​

ts
paintSelection(
   context, 
   color, 
   radius
): void;

Defined in: FlatMapView.ts:16

Parameters ​

context ​

CanvasRenderingContext2D

color ​

string

radius ​

number

Returns ​

void


pickVertex() ​

ts
pickVertex(x, y): number | null;

Defined in: FlatMapView.ts:17

Parameters ​

x ​

number

y ​

number

Returns ​

number | null


selectAt() ​

ts
selectAt(x, y): void;

Defined in: FlatMapView.ts:18

Parameters ​

x ​

number

y ​

number

Returns ​

void


dispose() ​

ts
dispose(): void;

Defined in: FlatMapView.ts:19

Returns ​

void

Released under the MIT License.