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
1 answer

Android GMaps v2 - Get location of the center of the map & map height and width

I'm trying to get the latitude and longitude of the center of the map in the Google Maps V2 API & get the width and length of the map. Here is my old code(from GMaps v1 that I started to modify): import…
0
votes
0 answers

Android google v2 marker

i have problem with google map v2 marker so.. create marker on map works fine but... I after 12s change position and i want marken setPosition not to create new marker so my code Timer timer = new Timer(); timer.scheduleAtFixedRate(new…
Vykintas
  • 401
  • 1
  • 8
  • 23
0
votes
2 answers

Can I disable multi-touch zooming in GooglMap API2

Is it possible to disable/enable multi-touch zoom in GoogleMap API 2? I like to implement it programatically disable or enable when it is necessary. Thanks
Bryanyan
  • 677
  • 3
  • 13
  • 30
0
votes
3 answers

Unfortunately Google Maps API Demos has stopped - Google Maps Android API v2

I have a problem with Google Maps Android API v2. Every time I try to open the app on device or even on emulator this message always display Unfortunately Google Maps API Demos has stopped I have made a video that Explain every steps that I did…
ahmadssb
  • 95
  • 2
  • 13
0
votes
2 answers

Google Maps API V2: GPS icon doesn't appear

In my app I have recently upgraded Google Maps from V1 to V2. Now, with an HTC One S (Android 4.1.1) when I switch on GPS and enter in the map activity, the app recognizes that GPS is on but its icon doesn't appear and the app can't find my…
Umberto
  • 2,011
  • 1
  • 23
  • 27
0
votes
2 answers

Google maps extension

I want to use this google maps extension: https://code.google.com/p/android-maps-extensions/ however I didn't understand how do I combine it to my project? I downloaded the zip in this website and I read the explanations on the website, however i…
0
votes
1 answer

Calculating points for bezier curve for map

I'm calculating the necessary oints for a bezier curve between to geo location points to draw the line at Google Maps V2. My problem is that it doesn't work correctly if the line has to be drawn 'over the pacific ocean', e.g. start point is in Tokyo…
0
votes
2 answers

Android Google Mapv2 null pointer exception

I am using google map v2 in my application, but when I try to create a object for SupportMapFragment with onActivityCreated() this method is not getting called somebody please help me Here is my code, @Override public View…
0
votes
0 answers

Stuck between "Is Library" and "cannot creake *.apk file"

The problem is I copied the tutorial from http://discgolfsoftware.wordpress.com/2012/12/06/google-maps-android-api-v2-mylocation-locationsource-and-event-handling/. I have imported the google-play-services-library in my project. I have selected both…
Mohammad Sohaib
  • 577
  • 3
  • 11
  • 28
0
votes
1 answer

How to detect sluggishness on UI thread when using Android Maps API v2

I'm using the Android Maps API v2 in my app "CellViz". One feature of the app is to add lines and polygons to the mobile map in real-time that represent cell signal coverage while the user is collecting data. There is currently a user-defined…
Sean Barbeau
  • 11,496
  • 8
  • 58
  • 111
0
votes
1 answer

Tile Overlay for Android maps v2: How to map latitude and longitude to a pixel location

I'm building an image for an Android maps v2 TileOverlay. Say, for example, that I want a pixel that will end up at a particular latitude and longitude in the tile, to be a particular color. How do I know what latitudes and longitudes in the tile…
aez
  • 2,406
  • 2
  • 26
  • 46
0
votes
1 answer

Not able to display Map in Android App

Background: App Overview: I'm developing an Android App that will display a list of places in a listview and then ultimately allows the user to display those places on a Google Map (using Google Map v2 API) when the user clicks on a button on the…
user2101068
  • 617
  • 1
  • 8
  • 23
0
votes
1 answer

Cannot find user location:

I think I have done all using the Google Maps API v2 but the position is not shown and the camera doesn't changes its position. The map loads normally but stays only in 0,0 location and it never moves. In the device, I see the GPS signal only…
Chaddoud
  • 1
  • 1
0
votes
1 answer

ACCESS_DENIED Status from Places API

I'm developing an Android App that uses the Places API to retrieve information and displays it on a map. The initial request to retrieve to places fails with a ACCESS_DENIED status message from the HTTP request. Below is the code that I used to…
user2101068
  • 617
  • 1
  • 8
  • 23
0
votes
2 answers

MapView in android application

I am trying include google map in my android application. I gone through this procedure to get the Map API key. After getting the key i wrote the following code to display the map in my application. My Manifest file
user965071
  • 1,643
  • 5
  • 16
  • 16