Skip to content

Instantly share code, notes, and snippets.

View joshkopecek's full-sized avatar

Josh joshkopecek

View GitHub Profile
@ejh
ejh / leaflet-button-control.js
Created June 15, 2012 08:11
Leaflet control button example
L.Control.Button = L.Control.extend({
options: {
position: 'bottomleft'
},
initialize: function (options) {
this._button = {};
this.setButton(options);
},