Skip to content

Instantly share code, notes, and snippets.

View paco-valdez's full-sized avatar

Francisco Valdez de la Fuente paco-valdez

View GitHub Profile
/**
* http://candrews.net/blog/2010/10/introducing-sprymap/
* Charlie Andrews
*
* Instantiate the widget when you want it to turned into a map,
* probably in the window.onload or $(document).ready() function.
*
* Default parameters are listed as the parameters below
* var map = new spryMap({
* // The ID of the element being transformed into a map