Skip to content

Instantly share code, notes, and snippets.

Avatar

Josh joshkopecek

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