user3143637
user3143637

Reputation:

Google Maps v2: about markers

I have a map in which I have displayed some markers and I would like to identify the marker closest to my current location. How can I focus on that specific marker?

Note: I have found the closest marker based on distance, I just need to know how to display this information on the map.

Upvotes: 0

Views: 40

Answers (1)

giacavicchioli
giacavicchioli

Reputation: 334

It's not quite clear what you're asking for, if you've already found out which marker is closest, why don't you simply change the marker's icon? Some documentation here

Upvotes: 1

Related Questions