trafficonese / leaflet.extras

Extra functionality for leaflet R package.
https://trafficonese.github.io/leaflet.extras/
GNU General Public License v3.0
211 stars 74 forks source link

Customize text for tools of the draw tool bar #174

Closed SarahBauduin closed 4 months ago

SarahBauduin commented 4 years ago

Hi everyone, is it possible to change the displayed text of the tools of the draw tool bar (leaflet map in a Shiny application)? tools I would like to display 'Finish', 'Delete last point', etc. in another language (i.e., in french). I saw it can be done with L.drawLocal from Leaflet.draw, see here and here but I don't understand if I can do it in my R code. Thanks a lot!