KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I use the following code to display a single marker at a zoom level but it doesn't center tha marker on the map. Only one marker will ever be shown: LatLng latLng = new LatLng(Latitude, Longitude); cameraUpdate = CameraUpdateFactory.newLatLngZoom(latLng, 11.0f); This code will center it but it doesn't provide any zoom: LatLngBounds bounds = latLngBuilder.build(); cameraUpdate = CameraUpdateFactory.newLatLngBounds(bounds, 30); I need to center AND zoom.
Tags (comma-separated)
Save Edits
Cancel