Type Parameters

Hierarchy (View Summary)

Constructors

Properties

disconnectBounds: null | BBox
editable: boolean
fid?: ObjectId
ALL_PERMISSIONS: number = 0x7fffffff

Methods

  • Parameters

    • newID: string

    Returns void

  • Returns a center point of the geometry. If the geometry is not a LineString returns an absolute center. Otherwise, returns the nearest point on a line to an absolute center

    Returns Point

  • Returns Point

    The OpenLayers.Geometry is deprecated, please use the GeoJSON getGeometry() instead.

  • Parameters

    • key:
          | "NO_PERMISSION"
          | "EDIT_GEOMETRY"
          | "EDIT_PROPERTIES"
          | "DELETE"
          | "EDIT_EMPTY_STREET"
          | "SPLIT_DIRECTIONS"
          | "SET_UNKNOWN_DIRECTIONS"
          | "EDIT_HOUSE_NUMBERS"
          | "FORCE_HOUSE_NUMBERS"
          | "EDIT_CONNECTIONS"
          | "EDIT_ROUTING_ROAD_TYPE"
          | "EDIT_CLOSURES"
          | "EDIT_HEADLIGHTS_REMINDER"
          | "EDIT_AVERAGE_SPEED_CAMERA"
          | "EDIT_BEACONS"
          | "EDIT_DIRECTIONS"
          | "EDIT_TURN_GUIDANCE"
          | "EDIT_OPEN_TURNS"
          | "EDIT_CLOSE_TURNS"
          | "EDIT"
          | "FORCE_CLOSE"
          | "PUBLISH"
          | "SET_READY"
          | "EDIT_UPDATE_REQUESTS"
          | "EDIT_EXTERNAL_PROVIDERS"

    Returns boolean

  • Parameters

    • permission: number

    Returns boolean

  • Whether the current user can suggest a geometry change for the object

    Returns boolean

  • Returns true if object is currently in use and should not be deleted.

    Parameters

    • options: { keepSelected?: boolean; keepUnsaved?: boolean } = ...

      See DataModelRepository.clear for available options

    Returns undefined | boolean

    true if object is in use

  • Parameters

    • id: string

    Returns void

  • Parameters

    Returns void

    The OpenLayers.Geometry is deprecated, please use the GeoJSON setGeometry() instead.

  • Parameters

    • isSelected: boolean

    Returns void

  • Parameters

    • isSnapped: boolean

    Returns void

  • Parameters

    • version: number

    Returns void