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 :)
Related
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.
I tried to integrate Google map API with android native application. But I got only grid only, I can't get the map. Please help me to solve this problem.
Grids are shown because your key is not correct.Use the true key for your project which is registered in Google Project Console.
If you are getting only grid instead of the map, usually it's Google Maps Authentication problem. To solve it I would suggest you to go over the following guide:
Google Maps API V2 key
Follow all the steps of the guide and reproduce the key.
Next, follow this guide as well:
Google Maps API V2
to create application that integrates Google Maps API V2. Don't forget to remove the current installed application completely because Google Maps V2 caches the key you used before.
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
I have developed an application which uses mapView. I have used Google maps for android v1. I finished my app and now ready to publish but unfortunately Google stopped providing API key from March 18th 2013. Now i'm in a huge trouble.
So is there any way that i can obtain a API key for Google maps for android v1,
or
Can i use Google maps for android v2 key with out changing my code (Like ItemizedOverlays, Overlays, and Drawings on map)
Please Help !!!
Thanks in advance.
This the time you can migrate from current Version V1 to V2. Detailed explanation for Version V2 is here.
Follow steps by steps instruction from the tutorial.
1. You can try to address Google and ask them to provide you with a key, although I doubt they will agree doing that.
2. No you can't use most of the object you used in the Google Map API v1. Overlays are not supported in V2 and you should use polygones and polylines.
I generated Maps API key for android app using Google's manual via this page. Maps are working but in google console there are no stats. Do you now why and how to fix it?
Solved: As it turned out there are no limits to show maps on Andorid.