Loader

This library lets you load requested versions of other libraries from the GMaps Utility Library project on demand and within a unified global namespace.

namespace google.extensions.maps

All GMaps Utility Libraries will be available in both their old namespaces and the new google.extenstions.maps namespace. New libraries will only be available in the new namespace.

Static Methods

Static Methods Return Value Description
load(libName, libVersionRequested, opt_libOptions?) None Loads one of the GMaps Utility Libraries.
setOnLoadCallback(callback) None Registers a function to be called once all requested libraries have been loaded. This must be called before any calls to google.extensions.maps.load.

class LoadOptions

This class represents optional arguments to google.extensions.maps.load. There is no constructor for this class. Instead, this class is instantiated as a javascript object literal.

Properties

Properties Type Description
callback Function A function to call after this library has been loaded.
uncompressed Boolean Load the uncompressed version of a library. The default value is false.