O'Reilly logo

Beginning Google Maps Applications with PHP and Ajax: From Novice to Professional by Jeffrey Sambells, Michael Purvis, Cameron Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required