Hierarchy (View Summary)

Constructors

Properties

editable: boolean = true
fid?: ObjectId
requestBounds?: BBox
ALL_PERMISSIONS: number = 0x7fffffff

Methods

  • Parameters

    • newID: number

    Returns void

  • Type Parameters

    • TAttributeKey extends
          | "createdBy"
          | "id"
          | "createdOn"
          | "description"
          | "permissions"
          | "updatedBy"
          | "updatedOn"
          | "suggestionPermissions"
          | "type"
          | "geoJSONGeometry"
          | "bounds"
          | "open"
          | "resolution"
          | "resolvedOn"
          | "isRead"
          | "isStarred"
          | "mapIssueId"
          | "activeHovSubscriptions"
          | "avoidDangerousTurns"
          | "avoidFerries"
          | "avoidPrimaries"
          | "avoidTolls"
          | "avoidTrails"
          | "hasEv"
          | "isEmailVerified"
          | "licensePlateSuffix"
          | "os"
          | "reporterLanguage"
          | "vehicleType"
          | "driveDate"
          | "hasComments"
          | "localDriveTime"
          | "source"
          | "typeText"
          | "resolvedBy"

    Parameters

    Returns UpdateRequestAttributes[TAttributeKey]

  • 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 number

  • Returns Point

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

  • Returns string

  • 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

  • Type Parameters

    • TAttributeKey extends
          | "createdBy"
          | "id"
          | "createdOn"
          | "description"
          | "permissions"
          | "updatedBy"
          | "updatedOn"
          | "suggestionPermissions"
          | "type"
          | "geoJSONGeometry"
          | "bounds"
          | "open"
          | "resolution"
          | "resolvedOn"
          | "isRead"
          | "isStarred"
          | "mapIssueId"
          | "activeHovSubscriptions"
          | "avoidDangerousTurns"
          | "avoidFerries"
          | "avoidPrimaries"
          | "avoidTolls"
          | "avoidTrails"
          | "hasEv"
          | "isEmailVerified"
          | "licensePlateSuffix"
          | "os"
          | "reporterLanguage"
          | "vehicleType"
          | "driveDate"
          | "hasComments"
          | "localDriveTime"
          | "source"
          | "typeText"
          | "resolvedBy"

    Returns void

  • Parameters

    • id: number

    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