Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Hi all i am working on google map v2. I need to show the blue icon (indicates user current location). Like locationoverlay change option in v1(http://joshclemm.com/blog/?p=148) is there any option to show the user current location by default with v2?
Thanks all
Sorry to answer my own question. Before asking this question i wasted most of my time to get it.
GoogleMap.setMyLocationEnabled(true);
The simple solutions to show current location on google map api v2.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to achive map behavior like in google maps application. Example: set marker on a shop somewhere in the bottom of the screen, click on that marker so info panel should open and overlay the marker, map moves it's content so marker is still visible. I don't know how to correctly quote this requirement so I've found nothing on that point in the internet. Is there any guide on this UI pattern?
If you google it, you will find a lot of code and documentation regarding it. Please visit the link https://developers.google.com/maps/documentation/android/
you can start from here
https://developers.google.com/maps/documentation/android/start
you will find it very close to your requirement
you can set your content in info window API reference is here
https://developers.google.com/maps/documentation/android/infowindows
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have created an android app. In that I am generating randomly 10 Latitude and 10 Logitude. (and 10 names given to each marker) and displaying it on GoogleMap
But, now I want to put a radar on the map which gives a direction.. and accordingly I want to show which person is in which direction..
Please check the image, I want to show something like this.
Any Help??
Thank You...
Ok, so for start you can try detect the direction. To do that look over this question&answer and try to do this: Calculate compass bearing / heading to location in Android . In this way you can know where the user is looking at. After that maybe you could have an png image that you could draw over the map headed to the direction calculated like in the link I just posted.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am building an android application. I would like to know automatically if the user if walking or using a vehicle like a car when the application is switched on.
I'll be obviously using google maps to do it. But can someone give me pointer on how should I go about it.
Thanks
Yes, you could use the new Activity Recognition API that is part of Google Play Services. You can find more information in this link.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Actually I want that when 1 meter covered by the device a toast notification appears and it shows One meter has been covered.Similarly when again one meter will be cover the toast notification again appears.This phenomena continues further.Please help me to sort out the problem.Please provide me a sample code to do that...Thanks in Advance!!!
There is no location technology with one-meter resolution available to Android devices. Hence, what you want is not possible, sorry.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to put information window on marker with one arrow button and text which used to get click in Google Maps Android API v2.
If you are using Google Maps SDK for Android you can use GoogleMaps.setMyLocationEnabled(true) to show your location permanently on the map.
Please see at SDK Reference for more infos or read this question.