Skip to main content

Map

maps

type Map implements Node {
id: ID!
name: String!
active: Boolean!
center: GQLTJson!
zoom: Float!
pitch: Float!
bearing: Float!
createdAt: GQLTDate!
updatedAt: GQLTDate!
items(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [MapItemOrderBy] = []
where: GQLTQueryMapItemWhere
include: [GQLTMapItemIncludeObject] = []
): MapItemHasManyItemsList
}

Fields#

id (ID!)#

The ID of an object

name (String!)#

define the name of the map

active (Boolean!)#

define if the map is still active or not

center (GQLTJson!)#

The coordinates that define the center of the map

zoom (Float!)#

A number that determines how close the viewport is to the surface of the map. A zoom level of 0 would display the entire world. The higher a zoom level is, the closer the viewport is to the map's surface

pitch (Float!)#

The angle towards the horizon measured in degrees, with a range between 0 and 60 degrees. Zero degrees results in a two-dimensional map, as if your line of sight forms a perpendicular angle with the earth's surface

bearing (Float!)#

The destination's angle of rotation, measured in degrees counter-clockwise from north, with a range between 0 and 360 degrees

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

items (MapItemHasManyItemsList)#

Shows the list of all items under the map

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

Interfaces#

Node#

An object with an ID