Page Summary
-
FollowMyLocationOptions.Builderhelps configure how the map camera follows the user's location. -
It provides methods to set the desired zoom level of the camera when following the location.
-
The
build()method creates aFollowMyLocationOptionsinstance based on the builder's configuration. -
Zoom levels can be set within a specific range (2 to 21), otherwise, an exception is thrown.
This class is deprecated.
This class is deprecated and will be removed in a future release.
A builder that helps configure an instance of FollowMyLocationOptions.
Public Constructor Summary
|
Builder()
|
Public Method Summary
| FollowMyLocationOptions |
build()
This method is deprecated.
This method is deprecated and will be removed in a future release.
|
| FollowMyLocationOptions.Builder |
setZoomLevel(float zoomLevel)
This method is deprecated.
This method is deprecated and will be removed in a future release.
|
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public FollowMyLocationOptions build ()
This method is deprecated.
This method is deprecated and will be removed in a future release.
Builds the FollowMyLocationOptions object from the state accumulated in this FollowMyLocationOptions.Builder.
public FollowMyLocationOptions.Builder setZoomLevel (float zoomLevel)
This method is deprecated.
This method is deprecated and will be removed in a future release.
Sets the zoom level of the camera.
Parameters
| zoomLevel |
|---|
Throws
| IllegalArgumentException | if zoomLevel is outside the interval (2, 21). |
|---|