APPENDIX BGoogle Maps API

This appendix provides a detailed explanation of all the methods, classes, constants, and objects available through the Google Maps API as of version 2.58. For the most up-to-date list from the API, visit http://www.google.com/apis/maps/documentation/reference.html.

Note The class, method, and function arguments listed within square brackets are optional.

class GMap2

GMap2 (aka GMap) is the central class in the API. If you've loaded the API using the v=2 flag, you may also use GMap to refer to the GMap2 class; however, GMap is provided only for better backward-compatibility, and Google recommends that you modify your code to call GMap2 to conform with the most current API.

GMap2 Constructor

Constructor Description ...

Get Beginning Google Maps Applications with PHP and Ajax: From Novice to Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.