Skip to content

Instantly share code, notes, and snippets.

@milafrerichs
Created January 22, 2014 19:25
Show Gist options
  • Save milafrerichs/8565611 to your computer and use it in GitHub Desktop.
Save milafrerichs/8565611 to your computer and use it in GitHub Desktop.
drawControl.setDrawingOptions({
polygon: {
shapeOptions: {
color: color
}
},
marker: {
options: {
icon: L.mapbox.marker.icon({'marker-color': color}),
draggable: true
}
}
})
@milafrerichs
Copy link
Author

It works. Thanks.
But you should update the docs :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment