Last active
August 28, 2019 11:28
-
-
Save amanjeetsingh150/cfd6d3931bc5f093921df8e44561e6aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marker.setPosition(newPos); | |
marker.setAnchor(0.5f, 0.5f); | |
marker.setRotation(getBearing(startPosition, newPos)); | |
mMap.animateCamera(CameraUpdateFactory | |
.newCameraPosition(new CameraPosition.Builder().target(newPos).zoom(15.5f).build())); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment