Prop
Package: com.eegeo.mapapi.props
Methods
double getElevation()
Returns the current elevation of the prop. The property is interpreted differently, depending on the ElevationMode property.
Returns: A height, in meters.
void setElevation(double elevation)
Sets the elevation of this polygon.
Type | argument | Description |
---|---|---|
double | elevation | A height in meters. Interpretation depends on the current value of the ElevationMode property. |
ElevationMode getElevationMode()
Returns the mode specifying how the Elevation property is interpreted.
Returns: An enumerated value indicating whether Elevation is specified as a height above terrain, or an absolute altitude above sea level.
void setElevationMode(ElevationMode elevationMode)
Sets the elevation mode for this prop.
Type | argument | Description |
---|---|---|
ElevationMode | elevationMode | The mode specifying how to interpret the Elevation property. |
String getIndoorMapId()
Gets the identifier of an indoor map on which this prop should be displayed, if any.
Returns: For a prop on an indoor map, the string identifier of the indoor map; otherwise an empty string.
int getIndoorFloorId()
Gets the identifier of an indoor map floor on which this prop should be displayed, if any.
Returns: The indoor map floor id.
double getHeadingDegrees()
Gets the heading of the prop, in degrees, clockwise from North (0 degrees).
Returns: The heading of this prop in degrees.
void setHeadingDegrees(double headingDegrees)
Sets the heading of the prop, in degrees, clockwise from North (0 degrees).
Type | argument | Description |
---|---|---|
double | headingDegrees | The heading of this prop in degrees. |
LatLng getPosition()
Gets the position at which the prop will be rendered.
Returns: The position of the prop as a LatLng.
void setPosition(LatLng position)
Sets the position at which the prop will be rendered.
Type | argument | Description |
---|---|---|
LatLng | position | The position of the prop as a LatLng. |
String getGeometryId()
Gets the id of the geometry to be rendered in the location specified by the prop.
Returns: The id of the geometry to be rendered. Available geometry is currently curated by WRLD, please get in touch via support@wrld3d.com to discuss additions.
void setGeometryId(String geometryId)
Set the id of the geometry to be rendered in the location specified by the prop.
Type | argument | Description |
---|---|---|
String | geometryId | The id of the geometry to be rendered. Available geometry is currently curated by WRLD, please get in touch via support@wrld3d.com to discuss additions. |