Skip to content

Instantly share code, notes, and snippets.

@claytantor
Created April 15, 2012 07:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save claytantor/2390723 to your computer and use it in GitHub Desktop.
Save claytantor/2390723 to your computer and use it in GitHub Desktop.
The most basic use of the welocally place widget
//config for the widget
var cfg = { imagePath: 'images/marker_all_base.png'};
//instantiate it
var placeWidget =
new WELOCALLY_PlaceWidget(cfg)
.init();
//load loacally with local place
placeWidget.load(places[0]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment