I want to get periodic (say every 2 minutes) current location updates for this I'm following official documentation, I wrote this code but its not giving current location updates every two minutes even specified in LocationRequest object that I'm…
Is there a way to open the infowindow automatically when we add a marker?
Using this code to add the marker but infowindow only opens when clicking the marker:
myMap.addMarker(new MarkerOptions()
.position(latLng)
…
I have an android app in which I am using Google Maps API for Android v2. It was working fine in my phone until I upgraded my phone to Marshmallow. After updating my phone once I uninstalled it and again installed it using Android Studio it started…
What is the best way to animate markers on Google Maps using v2 API?
I am working on a map-centered game where I track locations of people and display them on the map for each other to see. As people move, I want to animate a marker from his current…
I want to replace the deprecated getMap Method with getMapAsync, but I didn't use MapFragment but GoogleMap like this:
private GoogleMap googleMap;
@Override
protected void onCreate(Bundle savedInstanceState) {
…
I have some dynamic tile content to display on top of a map (specifically, weather images -- radar, satellite, temperatures, etc.). I'm using Google Maps API for Android v2.
The problem I'm having is that apparently the only way to update the tile…
See this illustration:
What I would like to know is:
How to create an area (circle) when given a latitude and longitude and the distance (10 kilometers)
How to check (calculate) if a latitude and longitude is either inside or outside the area
I…
Description: I am using Google maps API V2.I have implemented Android Reverse Geocoding at touched location.
Problem: It throws exception on
try {
addresses = geocoder.getFromLocation(latitude, longitude,1);}
catch (IOException e)
{
…
I'm using ACRA (arca.ch) to generate automatic error reports.
I just released a new version of my app using Google Maps Android API v2. I'm getting an error reported by EEEPad and Transformer Pad users when trying to show the dialog returned by…
The Maps v2 documentation states:
Because version 2 of the Google Maps Android API requires OpenGL ES
version 2, you must add a element as a child of the
manifest element in AndroidManifest.xml:
I'm trying my hand and Android Application Development. I'm currently using Eclipse (I can't remember the version, whatever the newest is). I've crossed a bridge where I just can't seem to grasp what I'm doing wrong. I'm attempting to use the Google…
I use the Google Maps Api Version 2 for Androidto add a MapFragment to my Application.
This Fragments improves a lot in terms of speed and API usability. Sadly it also allows to rotate the map with a two finger gesture. I want to disable the…
I'm trying to learn android, and having followed the instructions on how to use the Google Maps API V.2 I now got it working.
However, the instructions on how to configure the initial state of the maps, found at developers.google.com, suggests a…
Maybe I am missing something here, but I am not able to use the new Maps only dependency in Play Services 6.5
I get the following exception:
java.lang.NoSuchFieldError: No static field MapAttrs of type
[I in class…