MapView.OnCameraDidChangeListener
public final class Transform extends java.lang.Object implements MapView.OnCameraDidChangeListener
Resembles the current Map transformation.
Responsible for synchronising CameraPosition
state and notifying camera change listeners.
Modifier and Type | Method | Description |
---|---|---|
void |
animateCamera(TrimbleMapsMap trimbleMapsMap,
CameraUpdate update,
int durationMs,
TrimbleMapsMap.CancelableCallback callback) |
Internal use.
|
CameraPosition |
getCameraPosition() |
|
void |
moveCamera(TrimbleMapsMap trimbleMapsMap,
CameraUpdate update,
TrimbleMapsMap.CancelableCallback callback) |
Internal use.
|
void |
onCameraDidChange(boolean animated) |
Called when the camera did change.
|
@Nullable @UiThread public final CameraPosition getCameraPosition()
public void onCameraDidChange(boolean animated)
MapView.OnCameraDidChangeListener
onCameraDidChange
in interface MapView.OnCameraDidChangeListener
@UiThread public final void moveCamera(@NonNull TrimbleMapsMap trimbleMapsMap, CameraUpdate update, @Nullable TrimbleMapsMap.CancelableCallback callback)
@UiThread public final void animateCamera(@NonNull TrimbleMapsMap trimbleMapsMap, CameraUpdate update, int durationMs, @Nullable TrimbleMapsMap.CancelableCallback callback)