WRLDBlueSphere Class Reference
A Blue Sphere is a model that is used to visualize a user on a map. The blue sphere can change location and rotate and can also be place in indoor maps.
@property coordinate
The location of the blue sphere.
@property heading
The heading the blue sphere is facing in degrees from north.
@property indoorMapId
The ID of the indoor map the blue sphere is associated with - if any.
@property indoorFloorId
The index of the floor the blue sphere is associated with - if any.
@property elevation
For outdoor maps, the height above ground of the sphere model’s center, in meters. For indoor maps, the height above the floor of the base of the leader-line, in meters.
@property enabled
The property that determines if the blue sphere should be displayed and assets loaded.
@property accuracyRingEnabled
The property that determines if the accracy ring should be displayed.
@property accuracyInMeters
The property that determines radius of accuracy ring in meters.
– setIndoorMap:withIndoorMapFloorId:
Place the blue sphere inside an indoor map on a specific floor.
Argument | Description |
---|---|
indoorMapId | The ID of an indoor map the bue sphere should be inside. (See WRLDIndoorMap). |
indoorMapFloorId | An index specifying which floor of the indoor map the blue sphere should be on. (See WRLDIndoorMap). |
– setCoordinate:heading:
Set the location of the blue sphere and the heading it is facing.
Argument | Description |
---|---|
coordinate | The location of the blue sphere. |
heading | The heading the blue sphere is facing in degrees from north. |
@property showOrientation
The property that determines if the blue sphere should display orientation information.