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

Android Maps V2 unable to scroll smoothly - creates blur in emulator

Ive been working on integrating maps v2 into my application, ive successfully done it and am able to visualize things on both device and emulator, but when i try to add some widgets below map in the layout im unable to scroll smoothly and maps…
0
votes
1 answer

Getting the Current Location Lat Long as 0.0 in Android google maps

I want to latitude and longtitude at current location. it run work on emulator but give lat/long 0.0 on mobile device. my device is LG 4x hd. src/.java file : private TextView txt_lat,txt_lon,txt_gps; private LocationManager lm; double lat,…
0
votes
1 answer

Android GoogleMap draw line through a known way

I am using Google Map Api V2 and I can marker or draw a line between two points.But I try to draw a line through the route of a bus.So Route,Ways,Stopping places...etc of the bus are already known.First of all, I tried to find all LatLong values of…
Sedat KURT
  • 478
  • 4
  • 9
  • 20
0
votes
3 answers

how can show only marker on map but default info Window or custom infowindow should not shown on marker click?

I have one google map(v2) with so many markers (around 1000) .I need one condition if distance is 2 km or more marker should not clickable. i already found distance but default window open on all marker .Is it possible infowindow should open when…
0
votes
1 answer

Is there any method to use arrow keys to get the focus on the markers on android map v2?

I want to get the focus on the marker on map v2. Because it develops for android TV, I need to use arrow keys to get the focus. (There's no touch screen.) I try to use the arrow keys on simulator to select the marker, but it just can move position…
0
votes
1 answer

Android Maps V2: Custom info window at custom position or work around?

I'm able to show custom info window but not like iOs maps at diffrent position. Is there any way or workaround to show info window like this? And can I make that show direction clickable?
0
votes
0 answers

Cannot run Android maps v2 on android version 2.3.5 but working on ICS

I am developing an app in which an activity locates the current latitude and longitude and then draws a polyline from current location to a given(hardcoded) location.But the problem is that the activity is working perfectly fine on Android 4.x but…
0
votes
1 answer

Android Google Map V2, Output is not showing

I tried lot MAP tutorials but mt emulator is showing only a blank window. Even i tried the Google map view sample code its also showing the same. Below is the code i tried, anybody please provide solution for this Activity package…
0
votes
1 answer

set GoogleMap initial location (from gps)

I have a GoogleMap in my App. When my app starts, it finds out the current position via gps and changes the map to this position. If my app was already started before and the initial position was changed, then I want to keep this user selected…
masrlinu
  • 103
  • 1
  • 14
0
votes
3 answers

Real time Mapping application Android

I need two create an Android mapping application which will have two type of clients and a webservice. Client Type 1(Client to be tracked) The location of this client needs to be tracked and sent to the sever in realtime. There will be atmost 10-15…
Rajul
  • 5,906
  • 2
  • 22
  • 26
0
votes
2 answers

Google Maps Android API v2 application crash

I'm trying to get the sample code of Android 'Google Maps Android API v2' working. I get the project built without errors. However, when I try to run the app on Everpad , the app crashes immediately. The logcat output: 08-30 17:12:42.620:…
Bilel
  • 25
  • 11
0
votes
2 answers

Find my location on mobile network

I want to get my location if phone is connected to Wifi or mobile network. However if phone is on mobile network things dont run as wanted. Nothing is happening until if i enable GPS. Can i get location without enabling GPS or i have to do that ?…
kort.es
  • 479
  • 2
  • 7
  • 26
0
votes
2 answers

Android Google Maps: XML layout errors

I am trying to get google maps v2 to work in android using android studio. I got all my keys and manifest setup. When I try and create xml for the actual activity that the map will show up on I get errors. My xml looks like this:
Mike
  • 6,751
  • 23
  • 75
  • 132
0
votes
1 answer

Android Google Maps: Obtaining api key

I am following this tutorial here: http://www.vogella.com/articles/AndroidGoogleMaps/article.html On my mac and am not sure how to accomplish this step to get my sha-1: Update: I realized I already have a key cause I build and sign my project.…
Mike
  • 6,751
  • 23
  • 75
  • 132
0
votes
0 answers

Is this normal GC behaviour from support.map.fragment?

I'm having some issues understanding the GC, and Maps V2. On Zoom (in / out) the GC kicks in constantly cleaning up, making the application hang for half a second in the mapview. If I remove the mapview from the application everything runs fine,…
chriskvik
  • 1,281
  • 2
  • 10
  • 32