Interface TrackEntityPath

軌跡線參數。

interface TrackEntityPath {
    color?: ov.ColorLike;
    dashScale?: number;
    date?: Date[];
    geo?: GeoPolyline;
    leftPath?: {
        color: ov.ColorLike;
        dashScale: number;
        opacity: number;
        size: number;
    };
    opacity?: number;
    segment?: number[];
    size?: number;
}

Hierarchy

  • CustomPolylineParameter
  • CustomGroundPolylineParameter
    • TrackEntityPath

Properties

color?: ov.ColorLike

軌跡線的顏色。new ov.Color("#FF0000")

dashScale?: number

軌跡虛線設定,預設為實線(-1),若等於0.0:系統自己切,大於0.0:以公尺為單位切。

date?: Date[]

軌跡線每個點的時間。

軌跡線幾何。

leftPath?: {
    color: ov.ColorLike;
    dashScale: number;
    opacity: number;
    size: number;
}

未走過的軌跡參數設定,若未設定則與統一使用軌跡線的設定而較省效能。

Type declaration

  • color: ov.ColorLike

    軌跡線的顏色。

  • dashScale: number

    軌跡虛線設定,預設為實線,若等於0.0:系統自己切,大於0.0:以公尺為單位切。

  • opacity: number

    軌跡線不透明度。

  • size: number

    軌跡線的大小。

opacity?: number

軌跡線不透明度。 1

segment?: number[]

軌跡分段,可將軌跡切分為多段,數字為各段在geo的終點,用於gpx有多個trk或trkseg時。

size?: number

軌跡線的大小。 1

Generated using TypeDoc