PHP Interacting with Google Maps – Points of Interest

You need a key that will be bound to a domain.

Documentation

http://code.google.com/apis/maps/index.html

http://code.google.com/apis/maps/documentation/

http://code.google.com/apis/maps/documentation/staticmaps/

Interesting idea:

http://fullmeasure.co.uk/mashups/ecsitemap.htm

External Link

To find out the latitude and longitude of a point

  • Search for it on maps.google.com.
  • Be sure that is centered on the map.
  • In the address bar of the browser, insert this code:

    javascript:void(prompt(”,gApplication.getMap().getCenter()));

  • Press Enter

My code – A good example

This bit of code displays on the map all the points in the associative array called $points.

points_of_interest

This entry was posted in PHP, Web Service. Bookmark the permalink.

Leave a Reply