Options
All
  • Public
  • Public/Protected
  • All
Menu

A MappedinRankings object is something that contains all the rankings for all the MappedinPolygons in the venue. It has a polygons array in which each item is linked to zero or more MappedinPolygons.

Rankings shows what the priority of displaying each polygon is.

A specific polygon's ranking can have the properties polygonId, entranceNodeId, score.

The Mappedin things object is where you would specify what type of ranking data you want to download for the venue. Only specify what you will actually use, to minimize transfer time.

See below for an example a things object with the available ranking properties specified:

things: {
    venue: [],
    locations: [],
    categories: [],
    maps: [],
    rankings: ['polygons'],
}

Hierarchy

  • MappedinRankings

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private #data

#data: any

polygons

polygons: TPolygonRanking[] = []

Methods

toJSON

  • toJSON(): any
  • Returns any

Static fetch

Static hydrate