The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
| class customControl extends L.Control { | |
| constructor(options) { | |
| super(options); | |
| this.options = { | |
| position: 'topright', | |
| }; | |
| L.Util.setOptions(this, options); | |
| } | |
| onAdd() { | |
| const container = L.DomUtil.create('div', 'leaflet-bar leaflet-control leaflet-control-custom'); |