using google map v2 or v3 in android application? - android

I am making a project on tourist guidance system on android. I wanted to include google maps in my application and wanted to know whether to use google maps API v3 or v2? Also, I cannot find any tutorial that tells me how to include v3. Any help would be appreciated. thank you

Google Maps API V2 is the native version of Google maps, while Google Maps API V3 is new API for web development, you could use the API V3 and embed it into a WebView, but if you want to achieve the best result you should use Google Maps API V2 for Android.
Here a blog guide I wrote on how to embed Google Maps API V2 in your application that you can use to get started:
Google Maps API V2

The latest version of the Maps API for Android is v2, v3 is for the web.
https://developers.google.com/maps/documentation/android/

Google Maps API v2 provide specific api for android.
Wih the api for web development ,Google Maps API v3 has been designed to load quickly and work well on mobile devices. In particular, focused on development for advanced mobile devices such as Android and iOS handsets.googlemap#mobile
use google map v3 in android with webview and javascript interface.
Here google map v3 a blog guide I wrote on how to use Google Maps API V3 in your android application.

In 2013 v2 is valid but now v3 is latest for android map check below thread
https://stackoverflow.com/a/41549359/2888952

Related

Cant find Google Map Android API v2

I just come to know there is no Google Map Android API v2 available in google developers APIs menu,
http://s30.postimg.org/txz8319g1/image.png
Anybody has any idea what has happened ?
They just changed a name. Implemente Google Map Android API instead of Google Map Android API v2 and it will work fine.

is android map v3 API for Mobile App or only for mobile/desktop browser? What should I use for Mobile App which makes use of Maps: V2 or V3?

I am about to implement an Android App which will use google Maps. Can someone please clarify whether I can use
Google Maps API V3 for our Mobile App or I should use API V2. I could not find it written any where , what exactly V2 and V3 will be used for?
is V2 for Mobile Apps and V3 for browsers Apps (mobile and desktop browsers both) ?
Thanks,
Satendra
Google have 2 version of google map, for mobile and for web.
Google map V2 is for mobile (android,ios) : https://developers.google.com/maps/documentation/android/
Google map V3 is for web: https://developers.google.com/maps/documentation/javascript/
You should use google map v2 for mobile.
I searched and found developers.google.com/maps/faq#whatis link . Goto this link and read the answer of this question "How do I deliver Maps applications on mobile devices?" . It clears the query.

Are there some extensions for Google Maps Android API V2 for polygons?

I am using Google Maps V2 API for my android application, and I was wondering if there is an extension or something like that which I can use, that has an equivalent to Polygon.contains() function from V3?
Thank you!

google maps android api v2 error

I'm developing an app. on SDK 17 which involves google maps but the problem is that when I use Google Maps v1 api key, the map works fine but when I try to use Google Maps android V2 api key nothing is displayed (only the google maps tiles appear). I have included the google play services library and searched for all possible reasons but couldn't find one. Please help!
1)Go to the Google APIs Console https://code.google.com/apis/console/#project:650847076763
2)In Services enable ‘Google Maps Android API v2’ and agree to the terms
3)In the left navigation bar, click API Access.
4)Click Create New Android Key....
Google maps api V1 is already deprecated use the maps api V2 instead.
Documentation page:
https://developers.google.com/maps/documentation/android/
Here is a quick start guide:
https://docs.google.com/document/d/19xKLZTrY1l6Sgu-V_IVSDIRZrcThjwxDrlm9rNr0tzo/edit
If you are having problems with MapFragment or the google play services library visit this thread it will help you.
https://docs.google.com/document/d/19xKLZTrY1l6Sgu-V_IVSDIRZrcThjwxDrlm9rNr0tzo/edit
Also I answered related problem that you have here.
How to/Error in declaring google-play-services-component
Happy coding :)

Maps for both Android and iOS

Anyone know maps API that can be implemented for both Android and iOS, except Google Maps and Bing Maps?
You can use OpenStreetMap's API to render your own, which is more involved than google maps but will work on both.
http://www.openstreetmap.org/
http://wiki.openstreetmap.org/wiki/API

Categories

Resources