Interface InputPolylineOptions

輸入線設定

interface InputPolylineOptions {
    color?: ov.ColorLike;
    maxStep?: number;
    onCompleted?: ((event) => void);
    onInputting?: ((event) => void);
}

Hierarchy

Properties

color?: ov.ColorLike

顏色。

Default Value

ov.Color("#FF0000")
maxStep?: number

最多輸入幾段。

Default Value

Number.MAX_SAFE_INTEGER
onCompleted?: ((event) => void)

Type declaration

    • (event): void
    • 輸入完成的回呼函式。

      Parameters

      • event: {
            geo: GeoPolyline;
            success: boolean;
        }
        • geo: GeoPolyline

          輸入完成幾何。

        • success: boolean

          是否成功。

      Returns void

onInputting?: ((event) => void)

Type declaration

    • (event): void
    • 輸入中的回呼函式。

      Parameters

      Returns void

Generated using TypeDoc