Skip to content

Change toolbar button icons #1327

Discussion options

You must be logged in to vote

While creating the new draw control you can add another css-class:

var estintoreMarker = map.pm.Toolbar.copyDrawControl('drawMarker', {
  name: "Estintore",
  className: 'your-marker-icon-class'
})

https://github.com/geoman-io/leaflet-geoman#adding-newcustom-controls

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AndDev7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants