You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a great library, thanks for all your work on this.
I was wondering if it would be possible to add an option to re-order the buttons on the tool bar (or maybe one exists and I just haven't been able to find it). Right now the default draw tool bar shows the polyline first, then polygon, then rectangle, then circle, then marker. I currently have set mine to show include the polygon and rectangle drawing options, but would like the rectangle drawing icon to appear on top of the polygon drawing icon.
Thanks for your help.
The text was updated successfully, but these errors were encountered:
andriesd
changed the title
Re-ordering buttons on Draw Toolbar
Re-ordering icons on Draw Toolbar
May 25, 2017
Thanks, I appreciate that a lot. Found this other discussion (Leaflet/Leaflet.draw#265) specifically about Leaflet Draw in JavaScript, but if there is a way to customize the toolbar with just leaflet.extras in Shiny that would be amazing
Wow that tread is so long and unfortunately no proper conclusion. The code to make it works is split into so many comments, it's virtually impossible for anyone but the author of make sense out of it. I've asked for a demo code and will be glad to incorporate if I get proper sample code.
This is a great library, thanks for all your work on this.
I was wondering if it would be possible to add an option to re-order the buttons on the tool bar (or maybe one exists and I just haven't been able to find it). Right now the default draw tool bar shows the polyline first, then polygon, then rectangle, then circle, then marker. I currently have set mine to show include the polygon and rectangle drawing options, but would like the rectangle drawing icon to appear on top of the polygon drawing icon.
Thanks for your help.
The text was updated successfully, but these errors were encountered: