Skip to content

Instantly share code, notes, and snippets.

@utsmannn
Created June 24, 2020 10:07
Show Gist options
  • Save utsmannn/867aaadb5d13f11eabd25a9542f9210c to your computer and use it in GitHub Desktop.
Save utsmannn/867aaadb5d13f11eabd25a9542f9210c to your computer and use it in GitHub Desktop.
val marker = map.addMarker(markerOption)
map.setOnMapClickListener { newLatLng ->
val animator = MarkerUtil.movementAnimator(marker, newLatLng)
animator.start()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment