The Google Maps external library (part of the Google APIs Add-On) lets you add powerful mapping capabilities to your Android application.
Questions tagged [android-maps]
850 questions
27
votes
5 answers
Google map for android my location custom button
How can I change google map my location default button?
I set my location enable and map draw standard image to find location, is it possible to change default image?

Nininea
- 2,671
- 6
- 31
- 57
26
votes
10 answers
How to move the Android Google Maps API Compass Position
Does anyone know if you can change the compass position within the map?
All I can find is how to enable or disable it. But I need to move it down a bit so my overlay is not obstructing it.

capdragon
- 14,565
- 24
- 107
- 153
25
votes
2 answers
Google maps api v2 zooming near the marker
I am using Google maps api v2 in android. I have placed a marker by using latitude and longitude . The marker is shown at correct place , but i want the the map should show area around the marker only .i.e i want to zoom to markers position when the…

Ravi
- 4,872
- 8
- 35
- 46
24
votes
10 answers
Google Maps API V2 'Failed to Load Map. Could not contact Google Servers'
I have checked and double checked my APIkey that I registered on the Google Console however I am still getting the following error:
12-05 16:31:12.940: E/Google Maps Android API(12334): Failed to load map. Could not contact Google servers.
What I…

StuStirling
- 15,601
- 23
- 93
- 150
22
votes
2 answers
Hide markers info window in android google maps API v2
Currently I was able to view all my markers in Google maps using Android Google maps API v2.
Adding my marker in map:
mapView.addMarker
(new MarkerOptions()
.position(aUsersLocation).
…
user915303
21
votes
4 answers
Finding nearest locations using Google Maps API
Hi I'm writing an app that shows the bike stations near an address. I have the list of latitude and longitude locations of each bike station from a service.
I can mark my current location, or any address so far. How do I show all the bike stations…

Geoplex
- 297
- 1
- 2
- 9
18
votes
3 answers
Handling multiple geofences transition with common area
If I have these two geofences, after registering these geofences I should get notified when I'm entering or exiting the circumference of these circles. However, I don't want my App to send a notification if I'm moving through the common area, i.e.…

Pankaj
- 2,115
- 2
- 19
- 39
18
votes
2 answers
Saving MapFragment (Maps v2) State in Android
I'm working with the new GoogleMaps API (v2) and have some problems with the fragment. I have two fragments in my app (Map, List) and the user can switch between them. Works fine so far with this code:
if (itemPosition == 0) {
…

Toni4780
- 443
- 1
- 8
- 14
17
votes
2 answers
What is recommended way to use Google Map v2 inside fragment?
I want to add map inside fragment with custom layout.
I can do it using ChildFragmentManager that will add SupportMapFragment. This approach im currently using. However it has disadvantage because child fragment transaction is asynchronous and its…

Alexey Zakharov
- 24,694
- 42
- 126
- 197
17
votes
1 answer
Google Play Service - SupportMapFragment.getMap() always returning null
Possible Duplicate:
How do I know the map is ready to get used when using the SupportMapFragment?
I am currently testing the new Maps API V2 but I'm really having trouble getting it to work correclty.
My problem is that getMap() always returns…

Goddchen
- 4,459
- 4
- 33
- 54
15
votes
10 answers
Google Maps is showing a blank map
I am currently stuck with this problem: Google Maps seems not to be loading at all. Please see the image below:
This is really driving me crazy. I already have done the following:
Added my package name + SHA1 (debug keystore) + SHA1 (release…

Jayson Tamayo
- 2,741
- 3
- 49
- 76
15
votes
6 answers
Google Maps works fine on Android but I still get an error "Could not find class 'maps.i.k', referenced from method maps.z.ag.a"
I got Google Maps Android API v2 to work perfectly on my Android Application by downloading the library, adding it to workspace, then referencing it as a library.
But I still get this error as soon as the activity containing the Map Fragment…

Mohamed Heiba
- 1,813
- 4
- 38
- 67
14
votes
4 answers
Is it possible to embed Google Navigation in an Android app?
I have an app which opens Google Maps from where the user is likely to start the Google Navigation from point A to B. Is it possible to open Google Maps and therefore Google Navigation only in specific proportion of the screen and display some…

Crocodile
- 5,724
- 11
- 41
- 67
14
votes
4 answers
android google map marker placing
In my Android application I need to place marker at exact position on map. I pin a marker on map with 51.507351, -0.127758 (London) location. I used the following code to do the work.
googleMap.addMarker(new MarkerOptions().position(
new…

M.A.Murali
- 9,988
- 36
- 105
- 182
14
votes
2 answers
Google Maps Android API v2 in China - map load took around an hour
What I have: native android app that use Android Maps API v2 (native library)
Everything works good in Hong Kong and Ukraine. The problems came as soon as we step in China border. We have next problems:
Map is loading from 30 mins to about one…

Evgeniy Labunskiy
- 2,012
- 3
- 27
- 45