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
0 answers

Couldn't run Google map v2

I can't run my Google map V2 in my activity, the map is launch by an intent with Graves_menu how start the activity Graves_geolocalisation. I have 1 package named graves_de_mer where I have 2 activity : - Graves_menu - Graves_geolocalisation I…
Peter
  • 83
  • 1
  • 1
  • 10
0
votes
1 answer

post to specific people in google+ and retrieve these posts from google plus in android

I am creating an android app, i would like to know how to post to specific people in google plus. I would also like to know how to parse google + posts? Especially the ones that is shared only to you. Is there any way of reading these posts and…
stickypens
  • 103
  • 4
0
votes
2 answers

Height of terrain Google Map Api v2

Like in tilte, is there any way to get height of the terrain from the google map? I know that apps like Endomondo using the profile of the area in meters above sea. Can i do it in my app using some libaries or api?
krzakov
  • 3,871
  • 11
  • 37
  • 52
0
votes
2 answers

Android: two activities with two maps; the second one doesn't load properly

I try to explain better: My app has a tab bar (a TabHost) and two of the tabs are two activities with a map each. When i click on the first tab I get the map and i can use it as i want. When I click on the second one i get the SAME map, with the…
aveschini
  • 1,632
  • 3
  • 22
  • 39
0
votes
4 answers

Google Map V2 not working for me . Any sample?

I have used many samples of Google map V2, and i have followed all the things which are necessary for this. But still having problem, only map view is showing and my current location is not being displayed on my emulator. I have already created my…
Android Help
  • 261
  • 4
  • 19
0
votes
2 answers

Can't see marker while dragging?

When you long click on a draggable marker, the marker moves up and allows you to move it. My problem is that I can't see the bottom of the marker because my finger is on top of it. I'm trying to accurately position the bottom middle of the marker…
Michael
  • 1,889
  • 2
  • 11
  • 6
0
votes
2 answers

Android Map goes black when slide menu activates

In my app I have set a few tabs using FragmentActivity and a button beside my tabs which activates a slide menu. At the moment I have two Fragments which are displayed for tab 1 and 2. The fragment for tab 1 contains a v2 Google Map and the second…
Amanni
  • 1,924
  • 6
  • 31
  • 51
0
votes
2 answers

getMap() returning null

My getMap() method is returning null. Why is this method returning null? I looked on the Android Developers documentation to make sure I'm using this method correctly. Here a the line of code that I'm using to get the map: mMap = ((MapFragment)…
user268397
  • 1,917
  • 7
  • 38
  • 56
0
votes
1 answer

Google maps api v2 get directions

I am using google maps api v2 in android . I have placed a marker. How can i get directions between current location and the marker.Any help would be great.
Ravi
  • 4,872
  • 8
  • 35
  • 46
0
votes
4 answers

Authorization failed. Failed to load map. Could not contact Google servers. (Google Map for Android)

I have been in this problem for a day now. I have followed and even changed to exactly alike from the tutorials. I can't seem to understand what's the problem. Everytime I run it to my device the map doesn't load and in LogCat it says: 05-08…
0
votes
1 answer

The import com.google.android.maps.OverlayController cannot be resolved

I need some help here. I am actually following the http://www.anddev.org/google_driving_directions_-_mapview_overlayed-t826.html tutorial for learning the Driving direction on google maps but the following libraries I cant import …
0
votes
2 answers

OnCameraChange not returning expected value

First let me state that this question concerns Map v2 API for my native Android application. Second, I've looked at a number of stackOverflow postings on how to detect panning changes on Map v2 API (e.g., How to handle onTouch event for map in…
user2101068
  • 617
  • 1
  • 8
  • 23
0
votes
3 answers

Android - Context - Google Maps V2 - Type mismatch: cannot convert from Object to WindowManager

I'm trying to get a WindowManager using the getSystemService() method. Here is the code I have: private int calculateZoomLevel() { int ht, screenWidth; DisplayMetrics displayMetrics = new DisplayMetrics(); WindowManager winManager; …
user268397
  • 1,917
  • 7
  • 38
  • 56
0
votes
1 answer

My Location is not shown on the screen on Google Map v2?

I'm making an android application which should be able to retrieve the user's correct location, and put it in a HashMap to show the route in a different layout. Anyway my question is, why location manager does not change the google map location…
Friis1978
  • 1,179
  • 9
  • 16
0
votes
2 answers

Selectively using android maps v2 based on user phone features

I am using Android Google maps V2 in my application. If the user doesn't have Internet connection, I send them to an alternative activity without maps. The problem is that my app is not supported on devices that don't have openGL2, because of…
JanBo
  • 2,925
  • 3
  • 23
  • 32