FollowMyLocationOptions

  • FollowMyLocationOptions is an immutable class used to define how the map camera follows the user's location.

  • It provides options for controlling the camera's zoom level while following the user's location.

  • Developers can use the FollowMyLocationOptions.Builder to create and configure instances of this class.

  • The getZoomLevel() method can be used to retrieve the current zoom level setting for the camera.

public class FollowMyLocationOptions extends AbstractSafeParcelable

An immutable class that represents the parameters used to specify the options when following the location of the user.

Nested Class Summary

class FollowMyLocationOptions.Builder A builder that helps configure an instance of FollowMyLocationOptions

Inherited Constant Summary

Public Method Summary

static FollowMyLocationOptions.Builder
builder()
Returns a new instance of FollowMyLocationOptions.Builder.
Float
getZoomLevel()
Gets the zoom level of the camera, or null if the zoom level is not set.

Inherited Method Summary

Public Methods

public static FollowMyLocationOptions.Builder builder ()

Returns a new instance of FollowMyLocationOptions.Builder.

public Float getZoomLevel ()

Gets the zoom level of the camera, or null if the zoom level is not set.