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

    類別 Feature

    Lightweight, read-only, ol.Feature and ol.geom.Geometry like structure, optimized for rendering and styling. Geometry access through the API is limited to getting the type and extent of the geometry.

    Geometry type.

    Flat coordinates. These always need to be right-handed for polygons.

    Ends or Endss.

    Properties.

    索引

    方法

    • Get a feature property by its key.

      參數

      • key: string

        Key

      回傳 any

      Value for the requested key.

    • Get the extent of this feature's geometry.

      回傳 Extent

      Extent.

    • Get the feature for working with its geometry.

      回傳 ol.render.Feature

      Feature.

    • Get the feature properties.

      回傳 { [k: string]: any }

      Feature properties.

    • Get the type of this feature's geometry.

      回傳 GeometryType

      Geometry type.

    構造函數

    • Lightweight, read-only, ol.Feature and ol.geom.Geometry like structure, optimized for rendering and styling. Geometry access through the API is limited to getting the type and extent of the geometry.

      參數

      • type: GeometryType

        Geometry type.

      • flatCoordinates: number[]

        Flat coordinates. These always need to be right-handed for polygons.

      • ends: number[] | number[][]

        Ends or Endss.

      • properties: { [k: string]: any }

        Properties.

      回傳 ol.render.Feature