views:

35

answers:

1

I've seen some sites, that use Google Maps, have the ability to show 'Points of Interest' on the map. Similar to what Google Earth does.

Here's an example of what I'm talking about: http://i.imgur.com/5OCor.jpg

How can I do this? :/

A: 

As far as I know, Google Map does not have a 'Points of Interest' feature for you to enable.

But you always can do it on your own. First of all, you have to obtain a POI database, e.g. Open source POI database? - Stack Overflow

Next, select the POIs visible in the viewport. Then add them to the map using GMarker. You also have to add or remove the POI as user pan and zoom the map.

As you can see this requires fair bit of programming. Google Earth has already packaged this into a great application. But this isn't available in Google map API (that I know of).

Wai Yip Tung