Skip to content

Instantly share code, notes, and snippets.

@hlobil
hlobil / load-google-maps.js
Created January 25, 2012 00:30 — forked from gbakernet/load-google-maps.js
Load Google Maps API using jQuery Deferred.
/*!
* JavaScript - loadGoogleMaps( version, apiKey, language )
*
* - Load Google Maps API using jQuery Deferred.
* Useful if you want to only load the Google Maps API on-demand.
* - Requires jQuery 1.5
*
* Copyright (c) 2011 Glenn Baker
* Dual licensed under the MIT and GPL licenses.
*/