Skip to main content

Questions tagged [google-maps-android-api-2]

Google Android Maps Api v2 is the next generation of Google Maps SDK available for Android developers.

google-maps-android-api-2
316 votes
13 answers
174k views

Android map v2 zoom to show all the markers

I have 10 markers in the GoogleMap. I want to zoom in as much as possible and keep all markers in view? In the earlier version this can be achieved from zoomToSpan() but in v2 I have no idea how about ...
Asanka Senavirathna's user avatar
200 votes
7 answers
131k views

Google Maps Android API v2 - Interactive InfoWindow (like in original android google maps)

I am trying to a make custom InfoWindow after a click on a marker with the new Google Maps API v2. I want it to look like in the original maps application by Google. Like this: When I have ...
user1943012's user avatar
  • 2,053
192 votes
4 answers
204k views

How to create a custom-shaped bitmap marker with Android map API v2 [duplicate]

I am developing an Android Application where I'm using Google Map API v2. I need to show the user location on a map with custom markers. Each marker will show the picture of the user from an URL. The ...
Jitendra Nath's user avatar
158 votes
10 answers
13k views

AndroidRuntime: FATAL EXCEPTION: androidmapsapi-ZoomTableManager

My app that uses Google Maps SDK (v2) just started crashing with this exception: Process: com.currentlocation.android, PID: 7328 java.lang.ArrayIndexOutOfBoundsException: length=1; index=12 ...
Prem Chand's user avatar
  • 1,023
142 votes
10 answers
193k views

Google Maps API v2: How to make markers clickable?

How to I make the markers in Android Google Maps API v2 become clickable so they will either bring up a menu with options or just start a new activity? I believe I made the markers in my app currently ...
Malaka's user avatar
  • 1,581
126 votes
13 answers
210k views

Android Google Maps v2 - set zoom level for myLocation

Is it possible to change the zoom level for myLocation with the new Google Maps API v2? If you set GoogleMap.setEnableMyLocation(true);, you get a button on the map to find your location. If you ...
dumazy's user avatar
  • 14.3k
113 votes
10 answers
102k views

GoogleService failed to initialize

I am using google Maps in my android application. I have created the key and added necessary permissions in manifest file. But soon I start the application I get this message in debugger: ...
Zach's user avatar
  • 10.1k
111 votes
1 answer
37k views

How to hide "Navigation" and "GPS Pointer" buttons when I click the marker on the android google map

When I click the marker on the google map, "Navigation" and "GPS Pointer" buttons come out. How can I hide those two navigation buttons programmatically in android development?
Tim Yu's user avatar
  • 1,253
107 votes
9 answers
85k views

Custom marker in google maps in android with vector asset icon

How can we achieve a map marker icon with vector asset file, the way google shows it like this, programatically: Update: map.addMarker(new MarkerOptions() .position(latLng) .icon(...
Shuddh's user avatar
  • 1,950
107 votes
11 answers
265k views

How to download Google Play Services in an Android emulator?

I want to use Google Play Services API in my application, but when I open the emulator to test my application it sends me a message that says "Google Play Services must be downloaded". I know that ...
WitaloBenicio's user avatar
101 votes
12 answers
217k views

This app won't run unless you update Google Play Services (via Bazaar)

I'm testing out the new Google Maps API V2 for Android, and I'm getting this message when the app launches: This is running on an 4.1 emulator. Here is my AndroidManifest.xml file: <manifest ...
soren.qvist's user avatar
  • 7,386
100 votes
18 answers
150k views

Google Maps Android API v2 Authorization failure

My steps: got SHA1 code from debug.keystore create app in google apis console enabled google map api v2 input SHA1;my.package.name get API key created AndroidManifest file: &...
Rusfearuth's user avatar
  • 3,251
96 votes
20 answers
87k views

moveCamera with CameraUpdateFactory.newLatLngBounds crashes

I'm making use of the new Android Google Maps API. I create an activity which includes a MapFragment. In the activity onResume I set the markers into the GoogleMap object and then define a bounding ...
Lee's user avatar
  • 4,026
90 votes
2 answers
76k views

Clear markers from Google Map in Android

I have added map on fragment activity and added several marker using addMarker function, but i am able to remove all markers , I am getting notification for different list of markers, Now i wants to ...
Ashish Kasma's user avatar
  • 3,644
90 votes
18 answers
194k views

Adding Google Play services version to your app's manifest?

I'm following this tutorial: https://developers.google.com/maps/documentation/android/start#overview on how to add Google Maps to an app within the Android SDK. The only problem I seem to be having ...
Adz's user avatar
  • 2,849

15 30 50 per page
1
2 3 4 5
309