Skip to content

Latest commit

 

History

History
240 lines (128 loc) · 6.37 KB

Zone.md

File metadata and controls

240 lines (128 loc) · 6.37 KB

@fairfleet/geotab / Zone

Interface: Zone

Sometimes referred to as a "Geofence", a zone is a virtual geographic boundary, defined by its points representing a real-world geographic area.

Hierarchy

Table of contents

Properties

Properties

activeFrom

activeFrom: Date

Gets or sets the date indicating when this zone begins it's active lifespan. Default [UtcNow].

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:13


activeTo

activeTo: Date

Gets or sets the date indicating when this zone finishes it's active lifespan. Default [MaxDate].

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:15


centroidLatitude

centroidLatitude: number

Gets the latitude coordinate of the zone's centroid.

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:17


centroidLongitude

centroidLongitude: number

Gets the longitude coordinate of the zone's centroid.

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:19


comment

comment: string

Gets or sets a free text field where any user information can be stored and referenced for this entity. Default [""].

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:21


displayed

displayed: boolean

Gets or sets a value indicating whether this zone must be displayed when viewing a map or it should be hidden. Default [true].

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:23


extent

extent: unknown[]

Gets the zone's extent.

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:25


externalReference

externalReference: string

Gets or sets external Reference. Any type of external reference you would like to attach to the zone. For example; an ID from another data source referenced when exporting zone data into another program. Maximum length [255] Default [""].

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:27


fillColor

fillColor: Color

Gets or sets the Color of the fill for this zone when showing on a map. Default [based on zone type; Customer: Orange, Office: Light Orange, Home: Green, Other: Blue].

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:29


groups

groups: Group[]

Gets or sets the group(s) this zone belongs to.

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:31


id

id: string

Gets or sets the unique identifier for this entity. See Id.

Overrides

NameEntityWithVersion.id

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:33


mustIdentifyStops

mustIdentifyStops: boolean

Gets or sets whether this zone name must be shown when devices stop in this zone. If [true] a "zone stop rule" (Rule with BaseType: ZoneStop) will automatically be created for this zone. This is to facilitate reporting on zone stops. The rule is not visible via the UI. Default [true].

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:35


name

name: string

Gets or sets the name of this entity that uniquely identifies it and is used when displaying this entity.

Overrides

NameEntityWithVersion.name

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:37


points

points: unknown[]

Gets or sets the list of points (see Coordinate) that make up this zone. A zone should be closed, the first point is the same coordinate as the last point.

Remarks

It is possible to add a zone with an unclosed set of points but the points will be closed by the system.

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:43


version

version: number

Gets or sets the version of the entity.

Inherited from

NameEntityWithVersion.version

Defined in

src/types/Checkmate/ObjectModel/NameEntityWithVersion.ts:10


zoneTypes

zoneTypes: ZoneType[]

Gets or sets the list of ZoneType(s) this zone belongs to. Default [Customer].

Defined in

src/types/Checkmate/ObjectModel/Zone.ts:45