PositionerOptions

Package: com.eegeo.mapapi.positioner

Defines creation parameters for a Positioner.

For more information, see the Positioner documentation.

Constructors

PositionerOptions()

Instantiate a new set of positioner options

Methods

PositionerOptions position(LatLng position)

Sets the position for the positioner.

Returns: The PositionerOptions object on which the method was called, with the new position set.

Type argument Description
LatLng position The new position for the positioner.

PositionerOptions elevation(double elevation)

Sets the elevation for the positioner. If this method is not called, PositionerOptions will be initialised to create a Positioner with an elevation of 0.

Returns: The PositionerOptions object on which the method was called, with the new elevation set.

Type argument Description
double elevation The elevation, in meters.

PositionerOptions elevationMode(ElevationMode elevationMode)

Sets the ElevationMode for the positioner. If this method is not called, PositionerOptions will be initialised to create a Positioner with ElevationMode.HeightAboveGround.

Returns: The PositionerOptions object on which the method was called, with the new elevation mode set.

Type argument Description
ElevationMode elevationMode The ElevationMode used to interpret the elevation of the positioner.

PositionerOptions indoor(String indoorMapId, int indoorMapFloorId)

Sets the indoor map properties for the positioner. If this method is not called, PositionerOptions is initialised to create a positioner for display on an outdoor map.

Returns: The PositionerOptions object on which the method was called, with the new indoor map properties set.

Type argument Description
String indoorMapId The identifier of the indoor map on which the positioner should be displayed.
int indoorMapFloorId The identifier of the indoor map floor on which the positioner should be displayed. In the WRLD Indoor Map Format, this corresponds to the ‘z_order’ field of the Level object.
v0.0.1467
Overview Introduction
Picking PickResult
Widgets (Optional) BlueSphere
Tag Service (Optional) TagService OnTagsLoadCompletedListener
RouteView Widget (Optional) RouteView RouteViewOptions