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

Android studio, Google Maps: V2 maps not fully loaded

Me and my team have a problem on google maps in Android Studio. The maps showed is able to zooming up to a certain point. After maps remains pixelated (zooming up maps does not loading). We have tested in many devices, in a tablet for example some…
1
vote
2 answers

how to get the address of center point of GoogleMap v2 in android?

I following this tutorial to get position of center point of v2 GoogleMap .now I want to get the address of the point using reverse geocoding .... I am using Following code to get LatLang of center point when button is clicked : @Override public…
1
vote
1 answer

Google Maps Android API v2 - Release Key

OK, so I know that there have been many questions relating to this subject, but it still doesn't seem to work for me. Anyway, here goes: My app uses a Google map fragment. To display the map, I got a debug certificate from Google and put it in my…
1
vote
1 answer

How can i return distance from google maps directions?

I am fairly new to android and i have been following this tutorial on getting maps to display. i was wondering is there a way that when you get the directions you can return the driving (not straight line) distance between point A and B and have it…
Mr.stark
  • 31
  • 5
1
vote
1 answer

Best way to put a map (google maps v2) inside a fragment

I have a fragment (ApartmentFragment) which is a page that show details of an apartment. I want to add a little map to show where the apartment is. just for clarity, I'm using the MaterialNavigationDrawer that is on github, my app is composed by a…
retrobitguy
  • 535
  • 1
  • 6
  • 18
1
vote
2 answers

How to create circular marks/buttons and circular window

Let me try to explain what I am doing... I am creating a map with some marks on the map, but I want to change these marks to circular buttons. When I click, it should open a circular window over my map with some options (map in the background). Is…
1
vote
2 answers

Hide map borders and labels in android MapFragment

I have a MapFragment object that I would like to modify, so that all the labels: county,street and such wont be visible. also the borders of the counties wont be visible... so that I'll get only the topography. how could I do that?
1
vote
1 answer

How to use google maps v2 on Android without load the map

Is there a way to use google maps v2 on android without loading the map, I need to read the gps location when I click on a button, and calculate the distance between 2 points, I know how to do that but only if the map is loaded, I need a way to do…
1
vote
1 answer

How to change Language on Android google map V2 api

I tried many ways to change language in google maps on android. It's not working.I tried to Change the locale of device with programming,also Force changed the locale of device. What should i do Im using…
1
vote
1 answer

GoogleMap does not load inside ViewPager

I got a weird problem with a GoogleMap in Fragment. I implemented some sort of a menu with items displayed via ViewPager. Some items can show a short GoogleMap as preview. The Items are Fragments wich are loaded by ViewPager. To show previous and…
1
vote
1 answer

Android Google map V2: how to make a polyline between 2 points be a curved line

This is my code for the map: ArrayList points = new ArrayList(); PolylineOptions polyLineOptions = new PolylineOptions(); points.add(startPosition); points.add(endPosition); polyLineOptions.width(7 *…
1
vote
0 answers

How to keep Google Maps Android API v2 map loaded during Activity restart?

I'm creating a navigation app which uses Google Maps Android API v2. When the Activity with the map (MapFragment) is being started, a PolylineOptions (a line) and an array of MarkerOptions' is being added to the map. This may take long time in some…
Daniel Kvist
  • 3,032
  • 5
  • 26
  • 51
1
vote
1 answer

How can I filter by city in the Places API using nearby place?

I program this but in my location, I just want to show schools only under San Juan and Manila. This is my code: @Override public void onClick(View v) { int selectedPosition = mSprPlaceType.getSelectedItemPosition(); String type =…
1
vote
1 answer

how to keep redrawing the polyline and markers when locationmanager gives new location on google maps api for android

The code works fine first time round, but when locationManager requests a update it doesn't redraw the markers or the polylines when the location changes but the little blue gps circle on it moves by it self and thats it. I want to know how you…
user2956865
  • 11
  • 1
  • 4
1
vote
1 answer

how to show progress bar while loading google map and adding markeres

i have integrated a Google map in my android application but it takes time to load map completely and place markers. What i wanna do is that to show progress bar until map is loaded fully and than place markers on it and at last dismiss the progress…
1 2 3
99
100