Interface JAppDrawFeature

interface JAppDrawFeature {
    addCoordinate: ((path?, lng?, lat?) => void);
    coordinates: JPoint[];
    id: string;
    isValid: (() => boolean);
    properties: JAppDrawStyle;
    removeCoordinate: ((path) => void);
    toGeoJSON: (() => Feature<Geometry, GeoJsonProperties>);
    updateCoordinate: ((path?, lng?, lat?) => void);
    incomingCoords(coords): void;
}

Hierarchy

  • Feature
    • JAppDrawFeature

Properties

addCoordinate: ((path?, lng?, lat?) => void)

Type declaration

    • (path?, lng?, lat?): void
    • Parameters

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

      Returns void

coordinates: JPoint[]
id: string
isValid: (() => boolean)

Type declaration

    • (): boolean
    • Returns boolean

properties: JAppDrawStyle
removeCoordinate: ((path) => void)

Type declaration

    • (path): void
    • Parameters

      • path: string | number

      Returns void

toGeoJSON: (() => Feature<Geometry, GeoJsonProperties>)

Type declaration

    • (): Feature<Geometry, GeoJsonProperties>
    • Returns Feature<Geometry, GeoJsonProperties>

updateCoordinate: ((path?, lng?, lat?) => void)

Type declaration

    • (path?, lng?, lat?): void
    • Parameters

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

      Returns void

Methods

  • Parameters

    Returns void