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

    類別 KML

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

    Note that the KML format uses the URL() constructor. Older browsers such as IE which do not support this will need a URL polyfill to be loaded before use.

    Options.

    stable

    層級 (查看層級一覽)

    索引

    方法

    • 函數

      Read the first feature from a KML source. MultiGeometries are converted into GeometryCollections if they are a mix of geometry types, and into MultiPoint/ MultiLineString/MultiPolygon if they are all of the same type.

      參數

      • source: string | Object | Document | Node

        Source.

      • 可選opt_options: ReadOptions

        Read options.

      回傳 ol.Feature

      Feature.

      stable

    • 函數

      Read all features from a KML source. MultiGeometries are converted into GeometryCollections if they are a mix of geometry types, and into MultiPoint/ MultiLineString/MultiPolygon if they are all of the same type.

      參數

      • source: string | Object | Document | Node

        Source.

      • 可選opt_options: ReadOptions

        Read options.

      回傳 ol.Feature[]

      Features.

      stable

    • Read the name of the KML.

      參數

      • source: string | Document | Node

        Souce.

      回傳 string

      Name.

      stable

    • Read the network links of the KML.

      參數

      • source: string | Document | Node

        Source.

      回傳 Object[]

      Network links.

    • 函數

      Read the projection from a KML source.

      參數

      • source: string | Object | Document | Node

        Source.

      回傳 Projection

      Projection.

      stable

    • 函數

      Encode an array of features in the KML format. GeometryCollections, MultiPoints, MultiLineStrings, and MultiPolygons are output as MultiGeometries.

      參數

      回傳 string

      Result.

      stable

    • Encode an array of features in the KML format as an XML node. GeometryCollections, MultiPoints, MultiLineStrings, and MultiPolygons are output as MultiGeometries.

      參數

      回傳 Node

      Node.

    構造函數

    • 參數

      回傳 KML

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

      Note that the KML format uses the URL() constructor. Older browsers such as IE which do not support this will need a URL polyfill to be loaded before use.

      stable