Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JAppDrawFeature<G, P>

Type parameters

Hierarchy

  • Feature
    • JAppDrawFeature

Index

Properties

addCoordinate

addCoordinate: function

Type declaration

    • (path?: string | number, lng?: undefined | number, lat?: undefined | number): void
    • Parameters

      • Optional path: string | number
      • Optional lng: undefined | number
      • Optional lat: undefined | number

      Returns void

Optional bbox

bbox: BBox

Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. The value of the bbox member is an array of length 2*n where n is the number of dimensions represented in the contained geometries, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The axes order of a bbox follows the axes order of geometries. https://tools.ietf.org/html/rfc7946#section-5

coordinates

coordinates: JPoint[]

geometry

geometry: G

The feature's geometry

id

id: string

isValid

isValid: function

Type declaration

    • (): boolean
    • Returns boolean

properties

properties: JAppDrawStyle

removeCoordinate

removeCoordinate: function

Type declaration

    • (path: string | number): void
    • Parameters

      • path: string | number

      Returns void

toGeoJSON

toGeoJSON: function

Type declaration

    • (): Feature
    • Returns Feature

type

type: "Feature"

updateCoordinate

updateCoordinate: function

Type declaration

    • (path?: string | number, lng?: undefined | number, lat?: undefined | number): void
    • Parameters

      • Optional path: string | number
      • Optional lng: undefined | number
      • Optional lat: undefined | number

      Returns void

Methods

incomingCoords

  • incomingCoords(coords: JPoint[][]): void