Hi, I am trying to use MapView and I want to show in the map some points of interest (like restaurants or stores) near my location. Is there a way in the api to get this kind of list? I know I can do this manually, but first I would need to get the geolocations. So which would be the best way to do this?
+1
A:
checking current location is possible. but we can get the center point of set of lat & lang. get nearest lat&lang from current location is the solution for now.
Praveen Chandrasekaran
2010-03-11 10:08:57
I don't understand. What I want is to show what kind of stores, restaurants are close to the current location.
janfsd
2010-03-11 21:41:25
I think that what I want to get is not possible using a MapView (unless I create my own overlay). But it is possible to call the Maps app via an intent and show the nearest business:Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("geo:0,0?q=business+near+city"));This is the quickest way. You can change business for whatever you want, as well as city.
janfsd
2010-03-17 15:56:14