Use default compass, current location buttons, zooming, and panning controls built into the Maps
SDK. You can read more on
the Map UI extensions page.
Sample use case 1: You want to provide your users with the compass, current location, and
panning and zooming controls so they can quickly center the map on their current location, set it to
display north at the top of the screen after rotating the map, and pan or zoom the map. You can use
the default controls provided with the Maps SDK.
Sample use case 2: You want to provide your users with the compass, current location, panning
and zooming controls and you want to use custom icons that are designed for your app style.
Sample use case 3: In some of the screens in your app, you want to remove the compass, current
location, and panning and zooming controls.
Since all ui elements are fully customizable because the Android view’s properties are exposed,
changing the default icons for them is straight forward: