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
-1
votes
2 answers

Get Coarse Location Only without extending MapActivity

How to get only coarse location without creating or extending MapActivity and send Lattitude and Longitude data to a service in Android ? Any help would be appreciable.
Manish Dubey
  • 4,206
  • 8
  • 36
  • 65
-2
votes
1 answer

Google map v2 polylines disappear when map zoom is changed

I am adding a long polyline to connect my transit points. The line is fine when the zoom level is default but as soon as I zoom the lines disappear. This behavior is very random as some line disappear when I zoom once and some disappear on full zoom…
Rishabh Srivastava
  • 3,683
  • 2
  • 30
  • 58
-2
votes
3 answers

NullPointerException in getting map fragment

I have read many other answers regarding the same issue, but this one is different. My application contains an activity which shows my current location in map. My main activity is not the one which shows the map. Here is the code for this…
Sumit Jha
  • 2,095
  • 2
  • 21
  • 36
-2
votes
1 answer

Unable to use the google map map eventhough i got the API key

I have got the API key but still I am unable to open the google map in my project. my requirement is I have to get the current location and nearby hospital details in my app using google map and I want the list of hospitals near to that place in…
Jayasree
  • 21
  • 4
-2
votes
1 answer

How to make android application show the nearest places with multiple markers

i am trying to make an application where it show the 5 closest places with multiple markers from my current location. On other topics i saw many examples, but, no one explained how to create app with multiple markers or HashMap where show the…
-2
votes
2 answers

Why Google Map is not displaying on Android Emulator?

I have everything installed and prepared in order to run a google map on android Genymotion Emulator. But for some reasons it doesn't get displayed. I understand that the program is able to navigate to that Map layout page, but the actual map…
-2
votes
1 answer

Android: Google Map Null pointer exception error on Action bar button(Map Button)

I'm developing simple Map application. I used action bar. I have added Map button on action bar. When users click on Map button it will take to Next activity(Map Activity). There will showing Map Activity from sqlite db. i'm getting Null pointer…
-2
votes
1 answer

How to get the home/work address from android maps 2 sdk

When I go maps|settings|edit home or work I see my home & work address, cool! Anybody know how to get that same information from the Android SDK? I am working on a maps app and would like to plot those to points of reference, with out asking the…
TomHa
  • 3
  • 2
-2
votes
1 answer

Android google map v2 errors

i'm following this tutorial : http://www.tutos-android.com/introduction-a-google-map-v2 Here is the source code : http://www.tutos-android.com/wp-content/uploads/2013/03/GmapV2.zip and i get this errors : 02-18 18:51:05.699: E/Trace(774): error…
Kin2Park
  • 23
  • 6
-2
votes
2 answers

Map behavior like in Google Maps application

I want to achive map behavior like in google maps application. Example: set marker on a shop somewhere in the bottom of the screen, click on that marker so info panel should open and overlay the marker, map moves it's content so marker is still…
-3
votes
1 answer

Values on Map not getting updated - Android

I am using onMapReady() function which gets called at the start of MapActivity which implements OnMapReadyCallback. It has a spinner at the top on whose change of item I refresh values of particular region / country and it should get reflected in…
Yatin
  • 2,969
  • 9
  • 34
  • 68
-4
votes
2 answers

Android: can anyone give example how to load map using google map v2?

I want to load map in my app, but not able to interpret help from google developers documentation.
Jack 1990
  • 49
  • 3
-5
votes
3 answers

MarkerOnClickListener is not working

I am trying to set MarkerOnClickListener to start an Intent Activity after click but it doesn't work. mapFragment.getMap().setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() { @Override …
Savita
  • 747
  • 1
  • 7
  • 16
1 2 3
75
76