Skip to main content

MapItem

map-item

type MapItem implements Node {
id: ID!
type: MapItemTypeEnum!
level: Int!
position: GQLTJson
polygon: GQLTJson
createdAt: GQLTDate!
updatedAt: GQLTDate!
mapId: ID
deviceId: ID
fileItemId: ID
map: Map
device: Device
fileItem: Item
}

Fields#

id (ID!)#

The ID of an object

type (MapItemTypeEnum!)#

define type of map item

level (Int!)#

define the zoom level of map item

position (GQLTJson)#

define the longitude and latitude point of the map item

polygon (GQLTJson)#

define each point position of each side

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

mapId (ID)#

The ID of an object

deviceId (ID)#

The ID of an object

fileItemId (ID)#

The ID of an object

map (Map)#

Show the associated map of map item

device (Device)#

Show the associated device in the map item

fileItem (Item)#

Represents the file attached to the map item

Interfaces#

Node#

An object with an ID