AtlasController class abstract
AtlasController
allows developers to manipulate Atlas
after the map has been initialized.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
disposeSDK(
) → Future< void> - Dispose the map sdk
-
executeCustomMethod(
Map< String, dynamic> parameters) → Future<void> - Some regions may have their own unique methods, this function can be used for customized implementation
-
getBounds(
Rectangle2D rectangle2d) → LatLngBounds - Return a LatLngBounds corresponding to Rectangle2D the in the map view
-
getCameraPosition(
) → Future< CameraPosition> - Get the current camera position
-
getLatLng(
ScreenCoordinates screenCoordinates) → Future< LatLng> -
Return a
ScreenCoordinate
corresponding to theLatLng
in the map view. -
getLatLngBounds(
Rectangle2D rectangle2d) → Future< LatLngBounds> ? -
Return a
LatLngBounds
corresponding to Rectangle2D the in the map view - Async method -
getScreenCoordinate(
LatLng latLng) → Future< ScreenCoordinates> -
Returns a LatLng corresponding to the
ScreenCoordinate
in the map view. -
getScreenShot(
{int x, int y, int width, int height}) → Future< Uint8List> -
Return a
Uint8List
to the screenshot of the specified range of the current screen -
getVisibleArea(
) → Future< LatLngBounds> -
Return a
BoundingBox
corresponding to the currently visible area in the map view. -
moveCamera(
CameraPosition cameraPosition, {MoveCameraAnimation? animation}) → Future< void> -
Moves the camera to the specified
CameraPosition
with an optional animationMoveCameraAnimation
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateBounds(
BoundingBoxData boundingBoxData) → Future< void> -
Updates the camera bounds based on the provided
BoundingBoxData
-
updateMapLogoBottomPadding(
int bottomPadding) → Future< void> -
Updates the map's logo bottom padding
bottomPadding
is the value that the padding will become
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited