isAccuracyVisualized property

bool isAccuracyVisualized

Whether the horizontal accuracy is visualized by scaling the accuracy indicator halo. Returns whether Location.horizontalAccuracyInMeters is used to scale the accuracy indicator halo. Default is false, in which case the halo has a fixed and zoom level independent size.

Implementation

bool get isAccuracyVisualized;
void isAccuracyVisualized=(bool value)

Whether the horizontal accuracy is visualized by scaling the accuracy indicator halo. Sets whether Location.horizontalAccuracyInMeters is used to scale the accuracy indicator halo. Default is false, in which case the halo has a fixed and zoom level independent size.

When set to true, the radius of the halo corresponds to the value of Location.horizontalAccuracyInMeters passed to LocationIndicator.updateLocation and scales in world coordinates.

For values smaller than 20 meters the halo is hidden. The radius of the halo is limited to 500 meters and values higher than that or null will keep the halo at that size.

If the location indicator is set to inactive (which can be checked via LocationIndicator.isActive flag), then the halo is always hidden. The value of this property remains unchanged regardless of the flag's value. If the location indicator is set to active:

  • Built-in location indicators:
    • The halo is always shown.
    • If the accuracy visualization is set to true, the size of the halo scales with Location.horizontalAccuracyInMeters in world coordinates.
    • If the accuracy visualization is set to false, halo displays at a default size.
  • Custom location indicator:
    • If the accuracy visualization is set to true, halo is shown and the size of the halo scales with Location.horizontalAccuracyInMeters in world coordinates.
    • If the accuracy visualization is set to false, no halo is shown since it might not fit together with the custom 3d model.

Implementation

set isAccuracyVisualized(bool value);