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

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

Related tags:

Useful links:

3484 questions
1
vote
4 answers

OnInfowWindowsListenerClick and IF Else

I try to make a if statement for a GoogleMap OnInfoWindowClickListener. But everytime I come to the else. And hint? Marker s780 = googleMap.addMarker(new MarkerOptions() .position(new LatLng(52.16033, 7.87964)) .title("780") …
Marcus Berger
  • 67
  • 1
  • 12
1
vote
0 answers

Ensure my location marker is drawn above the others

I’m plotting content on a GoogleMap using the map clustering utility library from google. I have lots of items representing pictures. Depending on zoom level, they are clustered or not. I’m managing clustering with a DefaultClusterRenderer…
1
vote
0 answers

Map snapshot to be displayed in notification BigView

In my app, I have location related notifications being received through a Broadcast Receiver. I would like to display a map inside the notification bigview layout. It would be similar to what is displayed for screenshots, but with a map instead. Is…
1
vote
2 answers

How to programatically choose level in indoor maps via Android Maps SDK

Is there a way to programatically select a level in indoor maps using Google Maps Android SDK Here is what we are trying to achieve: Android app lists different stores in a particular premises (for which indoor maps are available) Android app has…
1
vote
3 answers

How to set fixed image over google maps on android

I am new to android I have to add three images calendar, cytilife, and sun images and they should be fixed that is if map is re sized, zoomed, etc at any point of time they should not changed their position. I am able to display map and the circle.…
1
vote
1 answer

Android change google map tile with custom tiles

Is it possible to change google map API v3 standart map to my own custom map coming from url? I know that OSMdroid provide it but i want work with google map API. Is it possible?
1
vote
1 answer

Android Google Map min zoom

I have implemented a Google Map Api v2 in my Android App with zoom control. map.getUiSettings().setZoomControlsEnabled(true); I'd like to zoom out to view the entire world but it seems the min zoom level is set to 2 or higher. Is there any way to…
sat70
  • 51
  • 1
  • 5
1
vote
0 answers

Polyline on a google map not showing in a Tabbed Activity in Android App

My Android app has 4 tabs in which one tab is having map fragment with a polyline on map,It should display a line from location A to Location B.In a normal activity it is showing the polyline but in the tabbed activity it is not showing. Here is my…
ShivLeela
  • 117
  • 1
  • 3
  • 12
1
vote
1 answer

Google maps reverse geocoding via HTTPS in Android

I am making google map app. Since Geocoder class returns empty(out of bounds at [0]) i am currently trying the HTTPS Google maps reverse GeoCoding. This is my onClick call: public JSONArray getAddress(LatLng latLng) throws IOException { URL…
fixxxera
  • 205
  • 2
  • 10
1
vote
1 answer

Waiting for onMapReady() to be called

I have a Google Map implemented in the usual fashion, calling MapFragment's getMapAsync() and then waiting for onMapReady() to be called to provide the GoogleMap instance. This all works fine until I add code to wait for onMapReady() to be called,…
Barry Holroyd
  • 1,005
  • 1
  • 11
  • 20
1
vote
0 answers

Android displays a grey map in Lollipop

I have an Android application containing a map which works fine when tested on devices with version 4 or 4.4, but when it is loaded on a device with Lollipop it shows a grey map. No errors are reported in the logcat and the problem is not related…
1
vote
0 answers

What's the logic behind marker selection with 2 or more overlapping marker? (Google API android v2)

If i make a tap on the map on a marker, an event gets triggered and i can catch it implementing the interface `OnMarkerClickListener. The event return me the marker on which i tapped; this is straightforward. The problem i'm facing now is that when…
1
vote
0 answers

How can I properly fit and center a Polyline on my Google Maps?

I am using Google Maps V2 for my application, I need to fit and center a Polyline on my map. At first, I change the bottom padding of my map using mGoogleMap.setPadding(0,0,0,bottomPadding). after that I will plot the polyline on the map. lastly, I…
1
vote
1 answer

Android Google Map V2 Authentication issue

I am working on Google Map V2. I created API Key on Google Developer Console an also I Enabled Google Maps Android API. Integrated that API Key in my App. But whenever I run app on Map view it shows me below error. I created SHA-1 certificate…
user3555472
  • 836
  • 3
  • 11
  • 38
1
vote
1 answer

Determine camera change event was programatic

I want to determine whether the camera changed event was initiated from the user or not. (i have to make different actions based on that). So if the user pans a camera with the finger, i have to close sg, but if i moved the camera with the API, i do…
WonderCsabo
  • 11,947
  • 13
  • 63
  • 105