Closed rendrom closed 7 years ago
appendToContainer: function(container) {
var constructor = (this.parentToolbar && this.parentToolbar.constructor) || this.constructor;
var baseClass = constructor.baseClass + '-' + this._calculateDepth(),
//...
}
these changes (and some css) enough for my app
Thanks for noticing this, @rendrom! I'm happy to accept a PR, if you want to put together a PR with the code that worked for you.
https://github.com/rendrom/Leaflet.toolbar
This code work for me, but still have some problem: the subtoolbar does not close by toolbar-0
ico clicking.
Problems with the subtoolbar with leaflet library version "1.0.0-rc.1".