• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Need help on adding overlays on Map View

Hi I am a newbie to Android Development. So spare me if I ask wrong questions

I am developing a POI search app for nearby gas stations according to my current location. I am using googlemapview for displaying the maps and using locationmanager to get current location. Now I want to add overlays to the map so that I can search the gas stations. Can i get this overlay information from google maps or i need to create the overlays by myself. what I want is to read the gar station information and plot them on the map.

Any help in this regard will be appreciated. I might have said some things wrong here. Correct me whereever I am wrong.

Thanks in Advance.
 
thanks for the reply. I went through that tut. already but it shows how to create your own overlays. I want the geopoints information somewhere from googlemaps so that I can find the location of gas stations.
 
AFAIK, there is no built in way to do it. If I were to tackle this, I would use the Google Places API to do your search, which will return back JSON/XML of the results.

You'd then need to parse that and get the latitude/longitude along with any other info for all of the spots and then add them as overlays to your mapview.

Hopefully that makes sense. If not, post back and I'll see if I can explain further.
 
Back
Top Bottom