A MappedinMap belonging to a specific MappedinVenue. Typically represents a certain floor. Give this to a MapView to display to the user.

A Map can have more properties such as 'elevation', 'name' (e.g. Level 1), and 'shortName' (e.g. L1). The elevation property can be used to determine the order of the floors (first, second, etc). Elevation is 0 based, going up and down in integers representing the number of floors above or below 0, which is ground level.

The Mappedin 'things' object is where you would specify what properties you want to download for Maps. Only specify what you will actually use, to minmimze transfer time. Work with your Mappedin developer relations contact to set up any custom properties you need.

See below for an example a 'things' object with available Map properties specified:

things: {
    venue: [],
    locations: [],
    categories: [],
    maps: ['name', 'elevation', 'shortName']
}
Show:

Properties

id

String

Map ID.

This is the internal Mappedin ID, and can be used for the lifetime of the data you get back from getVenue, but it may not be present in future calls, even if there is another Map with otherwise similar properties. An ID can never be reused if it's, say, accidentally deleted. If something more durable is required, or if the data in the Mappedin CMS is being synced from somewhere else, you should finding things using the externalId property.

mapGroup

MappedinMapGroup

Map Group this map belongs to.

polygons

[MappedinPolygon]

Polygons on this Map.