Namespace: Loader

Loader

Library loader

This library requires google maps API v3 and jQuery, this loader assures that google maps API are available and loads jQuery from cdn if not already loaded in the document. When requirements are satisfied the callback passed to the geodrawer#ready method is invoked

Source:

Methods

(static) checkGoogleMapsApi()

Checks if the google maps API is loaded
Source:

(static) load()

Loads the library and emits an event when loaded The event emitted is 'geodrawer-loaded'
Source:

(static) requirejQuery(then)

Checks if jQuery is loaded, if not loads it, and then execute the cb
Parameters:
Name Type Description
then function callback to execute after jQuery is fully loaded
Source: