Questions tagged [android-maps-v2]

The new Google Maps Android API v2 allows you to offer interactive, feature-rich maps to users of your Android application.

With the Google Google Maps Android API v2, you can add maps based on Google Maps data to your application. The API automatically handles access to Google Maps servers, data downloading, map display, and response to map gestures. You can also use API calls to add markers, polygons, and overlays to a basic map, and to change the user's view of a particular map area. These objects provide additional information for map locations, and allow user interaction with the map.

Related tags:

1138 questions
0
votes
2 answers

google maps v2 does not load after publishing in google play

I recently developed an app based on google maps API v2, Before publishing i checked my app on my device and emulator it worked fine, but after publishing , (when downloading through google play) map does not load ,i see white space not map.. I am…
0
votes
1 answer

Get current location as TEXT with Google Maps API v2

I am currently retrieving the current location in my app but i also need the text of this location, or the city i am in at least, something like that. Is there any known way i can do this? This is what i have so far: package…
Adrian Olar
  • 2,883
  • 4
  • 35
  • 63
0
votes
0 answers

SupportMapFragment XML error

Hy guys, I am trying to use SupportMapFragment to load the Google Maps API into my application. What happens is i try to use a specific layout, not the simple map taking up the whole screen. Here is the XML:
0
votes
2 answers

Setting listeners to groups of markers using Google Maps API

I am working on an Android app where the Google Map has markers for different categories of locations. For instance, collection of markers for places to visit near the current location and collection of markers for places visited so far. I found…
quirkystack
  • 1,387
  • 2
  • 17
  • 42
0
votes
3 answers

how to generate android debug SHA-1 for android

I want to generate a sha-1 so I can use the google maps v2 in my android app, im using oracles java jdk1.77.025 on ubuntu-mint. I get the following error: marko@marko-K39a2 /usr/local/java/jdk1.7.0_25/bin $ keytool -list -v -alias androiddebugkey…
user1796624
  • 3,665
  • 7
  • 38
  • 65
0
votes
2 answers

Unable to instantiate android.gms.maps.SupportMapFragment

I have a view with a facebook style side bar navigation. On the main view I want to display my map. I have followed Google's tutorial exactly! But I keep running into the error Unable to instantiate android.gms.maps.SupportMapFragment. I did manage…
Hadi
  • 520
  • 9
  • 21
0
votes
3 answers

"Google Play Services which are missing from your phone" on emulator

Hey I am trying to use google maps on my emulator even though I've installed google play services library when I run the app it says "This app won't run without google play services which are missing from your phone"
0
votes
1 answer

while importing map projects into workspace it always gives an error at res/values-v11 folder.

error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'. Suppose if i delete that style xml file means. Error gone. Why this error occurred.
Rameshbabu
  • 611
  • 2
  • 7
  • 21
0
votes
1 answer

Remove floor plans from Google Maps Android API v2

I am creating an Android application that uses the Google Maps API. I've set the MapType to Satellite so it will not show any labels, but it still shows the Google Maps floor plans when I zoom into an area that has them. Is there a way to make…
0
votes
1 answer

Android maps api v2 Circles

Not sure what is going on here, but I want it to make an additional circle every second as the device moves. All it does is make 1 circle. I want the circles to highlight the route I have taken. Recommendations? Thanks LocationManager…
johnsonjp34
  • 3,139
  • 5
  • 22
  • 48
0
votes
1 answer

android maps api v2 adding multiple circles

I'm trying to add a circle to the map every second with an update from the gps. How would I pass the Location location = locationmanager.getLastKnownLocation(provider); to make a new circle every second? Here is what I have so far. public class…
johnsonjp34
  • 3,139
  • 5
  • 22
  • 48
0
votes
1 answer

How to implement custom interactive balloon(infowindow) on maps api v2?

My question is simmilar to this. The main difference is that i have to implement InfoWindow (also interactive) not only for markers but for any point on the map which user taps(in particular polygons and polylines). Is there any suitable solution…
0
votes
1 answer

Google Maps API v2 for Android: Marker and Polyline position mismatch

I'm trying to draw some markers and a polyline in the same map this way MarkerOptions options = new MarkerOptions(); Marker marker; PolylineOptions polyLineOptions = new PolylineOptions(); …
Aitor Gómez
  • 7,317
  • 3
  • 20
  • 28
0
votes
3 answers

Google Maps APIv2 - Map does not load

I was using the previous Maps API - after inserting the following code snippet for the Maps v2 API, the map does not load. The CustomMapView is a Java class which inherits the MapView. Cant understand what all parameters should be replaced or…
0
votes
1 answer

Manipulating overlays over Google maps v2 in android application

I'm trying to create android application uses Google maps API v2 and put overlay on map that contains bitmap. I used addGroundOverlay method which attaches bitmap to the overlay. But when new position comes from LocationManager I would like to…