public class Map extends java.lang.Object implements Focusable
A Map belonging to a specific Venue
. Typically represents a certain floor. Give this to a
MapView to display to the user.
The elevation property can be used to determine the order of the floors (first, second, etc).
Modifier and Type | Method and Description |
---|---|
float |
getAltitude()
Altitude of the map, used to get map's altitude
|
int |
getFloor()
Floor of the map, used to sort floors
|
float |
getHeading()
Heading of the map in radians, used to get map's heading.
|
java.lang.String |
getName()
Name of a map (First floor, Second Floor, etc)
|
com.mappedin.sdk.FocusPoints |
getPoints()
Returns a focusable object's 3D points
|
Polygon[] |
getPolygons()
Gets an array of Polygons in this map
|
java.lang.String |
getShortName()
A shorter name to display in a drop down menu (etc.) if the actual name is too long
|
Venue |
getVenue()
Returns the
Venue of this Location |
java.lang.Boolean |
insideMapBoundary(Coordinate coordinate)
Returns true if a coordinate is within the boundaries of the map's world
|
boolean |
mapReady()
Check if all 3D Objects in this map has been loaded
|
public java.lang.String getName()
public java.lang.String getShortName()
public int getFloor()
public float getAltitude()
public float getHeading()
public boolean mapReady()
public Polygon[] getPolygons()
Polygon
public com.mappedin.sdk.FocusPoints getPoints()
Focusable
public java.lang.Boolean insideMapBoundary(Coordinate coordinate)