public class Location extends Navigatable
A location is something like a store or washroom on a map. It has a name and type.
A location can also belong to zero or more Categories (Store, Jewelry Store, etc), and will be linked to zero or more Nodes and Polygons.
A location's nodes can be on multiple maps, or in multiple non-adjacent places on the same map. For example, all washrooms at a given venue could belong to one Location, or a department store could live on multiple floors.
A location can have more properties (typically things like description, externalId, logo, etc). To get access, work with your Mappedin developer relations contact to set up any custom location types you need.Modifier and Type | Method and Description |
---|---|
Category[] |
getCategories()
A array of venue-specific categories a Location belongs to (ie.
|
Coordinate[] |
getCoordinates()
A collection of coordinate attached to this Location.
|
java.lang.String |
getName()
Name of the Location
|
Coordinate[] |
getNavigatableCoordinates() |
Polygon[] |
getPolygons()
A collection of polygons attached to this Location.
|
java.lang.String |
getType()
Type of Location (Tenant, Restaurant, etc.
|
Venue |
getVenue()
Returns the
Venue of this Location |
directionsFrom, directionsFrom, directionsTo, directionsTo
public java.lang.String getName()
public java.lang.String getType()
public Category[] getCategories()
public Coordinate[] getCoordinates()
Coordinate
public Polygon[] getPolygons()
public Coordinate[] getNavigatableCoordinates()
getNavigatableCoordinates
in class Navigatable