Reputation: 115
I have toggle button to reset camera to current user location and also trucking user, when user changed location also update camera to this, now I want on user dragged map this tracking listener dismiss. until click the button again.
Upvotes: 2
Views: 1487
Reputation: 74
you can use cameraPositionState.cameraMoveStartedReason
if (cameraPositionState.cameraMoveStartedReason == GESTURE) {
// movement by user
}
Upvotes: 5