Skip to content

Documentation / @geoverse/core-ol / MeasureOptions

Interface: MeasureOptions ​

Defined in: packages/core-ol/src/interactions/measure.ts:39

Properties ​

callback? ​

ts
optional callback?: (result) => void;

Defined in: packages/core-ol/src/interactions/measure.ts:45

每次测量完成的回调

Parameters ​

result ​

MeasureResult

Returns ​

void


kind? ​

ts
optional kind?: MeasureKind;

Defined in: packages/core-ol/src/interactions/measure.ts:43

测量类型,默认 length


target? ​

ts
optional target?: Map;

Defined in: packages/core-ol/src/interactions/measure.ts:41

地图对象(也可后续 setMap)