Skip to content

Instantly share code, notes, and snippets.

@poltib
Created April 26, 2014 09:37
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 poltib/11315826 to your computer and use it in GitHub Desktop.
Save poltib/11315826 to your computer and use it in GitHub Desktop.
gmap_script_polyinit
poly_init = function(map) {
var poly_options;
poly_options = {
draggable: true,
editable: true,
geodesic: true,
map: map,
strokeColor: 'rgba(0,0,0,0.6)'
};
return new google.maps.Polyline(poly_options);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment