User
User

Reputation: 453

Map View getting Location

I'm using a Map View and I'm able to get the current location. but now my problem is I want to put a marker on the specific place that near me. for an example I want to put a marker to all the Starbucks that near to my current location. I don't have any idea how to do this. Any thoughts will be appreciated.

Upvotes: 0

Views: 104

Answers (1)

Kaediil
Kaediil

Reputation: 5535

There are innumerable examples of using Map Overlays on Android. Here is one of them. Just take the locations you have and do put them in this code:

Map Overlay Example

If you are asking how to get the locations of the things you want to put on the map, then you are going to need to use something like the Google Places API with documentation found here:

Google Place API Docs

Upvotes: 2

Related Questions