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

    類別 GeoJSON

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

    Options.

    stable

    層級 (查看層級一覽)

    索引

    方法

    • 函數

      Read a feature from a GeoJSON Feature source. Only works for Feature, use readFeatures to read FeatureCollection source.

      參數

      • source: string | Object | Document | Node

        Source.

      • 可選opt_options: ReadOptions

        Read options.

      回傳 ol.Feature

      Feature.

      stable

    • 函數

      Read all features from a GeoJSON source. Works with both Feature and FeatureCollection sources.

      參數

      • source: string | Object | Document | Node

        Source.

      • 可選opt_options: ReadOptions

        Read options.

      回傳 ol.Feature[]

      Features.

      stable

    • 函數

      Read a geometry from a GeoJSON source.

      參數

      • source: string | Object | Document | Node

        Source.

      • 可選opt_options: ReadOptions

        Read options.

      回傳 ol.geom.Geometry

      Geometry.

      stable

    • 函數

      Read the projection from a GeoJSON source.

      參數

      • source: string | Object | Document | Node

        Source.

      回傳 Projection

      Projection.

      stable

    • 函數

      Encode a feature as a GeoJSON Feature string.

      參數

      回傳 string

      GeoJSON.

      stable

    • Encode a feature as a GeoJSON Feature object.

      參數

      回傳 JSON

      Object.

      stable

    • 函數

      Encode an array of features as GeoJSON.

      參數

      回傳 string

      GeoJSON.

      stable

    • Encode an array of features as a GeoJSON object.

      參數

      回傳 JSON

      GeoJSON Object.

      stable

    • 函數

      Encode a geometry as a GeoJSON string.

      參數

      回傳 string

      GeoJSON.

      stable

    • Encode a geometry as a GeoJSON object.

      參數

      回傳 JSON

      Object.

      stable

    構造函數