PilotGaea 2D O'view
    正在準備搜尋索引...

    類別 GPX

    Feature format for reading and writing data in the GPX format.

    Options.

    stable

    層級 (查看層級一覽)

    索引

    方法

    • 函數

      Read the first feature from a GPX source. Routes (<rte>) are converted into LineString geometries, and tracks (<trk>) into MultiLineString. Any properties on route and track waypoints are ignored.

      參數

      • source: string | Object | Document | Node

        Source.

      • 可選opt_options: ReadOptions

        Read options.

      回傳 ol.Feature

      Feature.

      stable

    • 函數

      Read all features from a GPX source. Routes (<rte>) are converted into LineString geometries, and tracks (<trk>) into MultiLineString. Any properties on route and track waypoints are ignored.

      參數

      • source: string | Object | Document | Node

        Source.

      • 可選opt_options: ReadOptions

        Read options.

      回傳 ol.Feature[]

      Features.

      stable

    • 函數

      Read the projection from a GPX source.

      參數

      • source: string | Object | Document | Node

        Source.

      回傳 Projection

      Projection.

      stable

    • 函數

      Encode an array of features in the GPX format. LineString geometries are output as routes (<rte>), and MultiLineString as tracks (<trk>).

      參數

      回傳 string

      Result.

      stable

    • Encode an array of features in the GPX format as an XML node. LineString geometries are output as routes (<rte>), and MultiLineString as tracks (<trk>).

      參數

      回傳 Node

      Node.

    構造函數

    • 參數

      回傳 GPX

      Feature format for reading and writing data in the GPX format.

      stable