Hello all………

In the previous post I showed you how to start with Google maps in android.
In this post I will show you how to show zooming controls and changing the view of the map.

Actually this is really simple.

Add these lines to the previous code to add the zooming controls.

map_view.setBuiltInZoomControls(true);    // Show the Zoom Controls

Now how to change the view of the map. To change it to satellite View apply this code.


To change the view to StreetView apply this code


After applying this the screen will appear like this

Adding Zoom controls

Adding Zoom controls


Leave a Reply

Your email address will not be published. Required fields are marked *




Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.