android-maps-v2 Questions

8

Solved

I'm making a server request and when I receive the response from server, I'm executing on UI Thread a ClusterManager.addItem() but this items are not painting in the map, only when I make a zoom up...
Allaallah asked 9/3, 2014 at 19:45

17

Solved

I am using the Google Maps Android API v2, and I need a way to chance the position of the "My Location" button. I get the "My Location" button like this: GooglePlayServicesUtil.isGooglePlayServ...
Victoriavictorian asked 23/1, 2013 at 21:38

8

Solved

In my app i showing google map version2 in a fragment. but i get Null pointer exception at mMap = ((SupportMapFragment) getFragmentManager().findFragmentById(R.id.map)).getMap(); This is my full...

5

Solved

How to draw route direction from current location to destination which (latitude and longitude), i have code as below: import android.os.Bundle; import com.actionbarsherlock.app.SherlockActivity; ...
Vermouth asked 21/1, 2013 at 17:38

3

Solved

I want to detect if the user turned off the location at runtime. I can check if he turns it on or if the location was turned off by user before the app was started but I can't check if he turned it...

2

Solved

I am making an app that adds pins to a map at certain points. I want the color of my pins to match the theme colors of our app. Sorry I'm really a noob int color = Color.rgb(255, 201, 14); mMap = ...
Ramsey asked 27/10, 2014 at 13:50

1

i want to keep my maps orientation always towards north .If the location changes towards left in driving mode ,It should always align it towards north.
Foreknowledge asked 16/4, 2019 at 3:6

6

Solved

When I use v6.5.87 of Google Play Services, I get a null pointer exception when I call getMapAsync(). I'm using a SupportMapFragment in my Fragment's xml layout. My code: SupportMapFragment mapFr...
Fugazy asked 23/1, 2015 at 11:46

6

Solved

I have drawn a polygon on google map using several Latitude,Longitude points.But now I need to place a marker at the center of the polygon for which I need the center coordinates.How do I calculate...
Coadunate asked 26/8, 2013 at 9:23

2

Solved

I did this for MapView before and it was pretty simple czuse there were predefined methods like onInterceptTouchEvent or GestureListeners etc. Did anyone try this double tap or double click zoom f...
Poniard asked 14/12, 2018 at 7:48

3

Solved

I have added the map view inside the RecyclerView alongside other types of list items but now ... how and where do I initialize the map, where do I listen for onMapReady so that I can place a marke...
Bipartisan asked 6/7, 2018 at 11:41

2

I'm using the the Google Maps Android SDK and I'm trying to find out if a StreetView panorama is available is a certain location. To describe the feature: "If a user click on a map marker and a th...
Shudder asked 28/5, 2014 at 10:51

10

Solved

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: Google...
Killam asked 18/12, 2015 at 23:18

3

Solved

I have googleMap (v2) with polyline that presents a route between the user current location and the destination point. Now, I want to update the polyline according to the user moving. I tried to r...
Neoplasty asked 11/6, 2013 at 7:1

2

I have upgraded Google Maps v1 to v2 in my Android application. And v2 was nice and so on BUT one method seems to be the slowest thing in my life. Projection proj = map.getProjection(); Point poi...
Misdirection asked 6/10, 2014 at 12:0

4

Solved

I need to do the following: I have a Marker on the map and I need to change the position of it. So I tried the following: MarkerOptions a = new MarkerOptions() .position(new LatLng(50,6))); map....
Weakfish asked 9/4, 2013 at 14:56

3

Solved

I am drawing a circle on my map like this: CircleOptions circle=new CircleOptions(); circle.center(centre); circle.strokeColor(0xFFFFA420); circle.strokeWidth(2f); circle.fillColor(0x11FFA420); ci...
Divide asked 18/3, 2013 at 15:47

16

I'm trying to implement new Android Google Maps API (v2). However it doesn't seem to go well with SlidingMenu. As you may know, MapFragment implementation is based on SurfaceView. The problem is th...

2

Solved

How do I set the center of the map to a specific location using GMaps v2? This is how I did it using GMaps v1: public void setCenter( LatLng point ) { if( point.latitude*1000000 != 0 && p...
Nonagon asked 2/5, 2013 at 15:41

5

Solved

I'm using the Google Maps API v2 for android and works properly. However, I am trying to use geocoder to get the longitude and latitude of an address, but without success. It has changed the way t...
Antidisestablishmentarianism asked 29/3, 2013 at 21:13

10

Solved

I haven't found an answer in my search, there are a few answers on SO but they didn't work for me. I have 2 markers on the map and I am using LatLngBounds builder in order to let the camera zoom t...
Mortmain asked 13/12, 2013 at 16:59

4

Solved

I'm trying to detect if a user is in the radius of a Marker , using the users gps location. I have the marker's coordinates, but I don't know how to calculate whether the user is in the area. I've ...
Lumbard asked 11/5, 2015 at 14:25

1

A pictures describes more than a thousand words, so I have created the below sketch using my poor Gimp skills. The icon in the middle is the user's current location and the markers around is nea...
Eatmon asked 10/10, 2017 at 21:26

1

I have to write a demo, that should work like Moving Map within Flight and need to draw same curved Polyline between two geo points / locations as you can see in below image. Even, I would not m...
Oribella asked 7/9, 2017 at 19:20

3

I have 3 markers on a Google Map. Two Markers to show starting and ending points Here is the code using to draw a Polyline between these two points: private void polyLine() { LatLng startin...

© 2022 - 2024 — McMap. All rights reserved.