Skip to content

Instantly share code, notes, and snippets.

@claytantor
Created April 15, 2012 19:23
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/2394409 to your computer and use it in GitHub Desktop.
Save claytantor/2394409 to your computer and use it in GitHub Desktop.
welocally place widget config
//config for the widget
var cfg = {
id: 'place-4627',
zoom: 16,
imagePath: 'images/marker_all_base.png'
styles: [
{
stylers: [
{ saturation: -45 }
]
},{
featureType: "road",
stylers: [
{ hue: "#ff5500" }
]
},{
featureType: "water",
stylers: [
{ hue: "#ffa200" },
{ lightness: -55 }
]
}
]
};
//instantiate it
var placeWidget =
new WELOCALLY_PlaceWidget(cfg)
.init();
//load locally 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