Position: {
    __typename?: "Position";
    attr?: Maybe<Attribute>;
    attrValue?: Maybe<Scalars["JSON"]>;
    attrs: AttributeConnection;
    id: Scalars["ID"];
    lat: Scalars["Float"];
    latLon: Scalars["Float"][];
    layers: PlaceLayer[];
    lon: Scalars["Float"];
    lonLat: Scalars["Float"][];
}

A position on a map with a longitude and latitude

Type declaration

  • Optional __typename?: "Position"
  • Optional attr?: Maybe<Attribute>

    Arbitrary JSON value stored on this resource, keyed by an id

  • Optional attrValue?: Maybe<Scalars["JSON"]>

    Shortcut for the attr.value, returns null if the attribute doesn't exist

  • attrs: AttributeConnection

    Query multiple attributes optionally filtering by id and/or locale

  • id: Scalars["ID"]

    Identifier for the Position type useful for client-side caching

  • lat: Scalars["Float"]

    The position's latitude

  • latLon: Scalars["Float"][]

    The position in the form: [latitude, longitude]

  • layers: PlaceLayer[]

    PlaceLayers associated to this position

  • lon: Scalars["Float"]

    The position's longitude

  • lonLat: Scalars["Float"][]

    The position in the form: [longitude, latitude]

Generated using TypeDoc