javascript - Google Maps API - How can I enable 'Points of Interest'? -


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, I'm talking about:

How can I do this? : /

As far as I know, Google Maps does not have the 'Points of interest' feature You enable

but you can always do it on your own. First of all, you will need to get a POI database, e.g.

Next, select the POI that appears in the viewport, then add them to the map using GMMarker . You must also add or remove the POI as the user has to add a pan and zoom the map.

As you can see, it is a bit of programming required for Google Earth to have already packed it in a great application but it is not available in Google Maps API (which I know) .


Comments