Open chuduyunhuan opened 7 years ago
Both.leaflet-draw-toolbar a
and .leaflet-retina .leaflet-draw-toolbar a
would need the new picture. Care to share what css you have tried?
Thanks. I found it works like this: .leaflet-touch .leaflet-bar { background-color: #fff; } .leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-marker{ background: url('./assets/images/datacenter.png'); transform: scale(0.5); } In reality, I just want to change the marker icon, now, it works out. Thank you all the same!
Just as described in title, i want to change the picture of the toolbar, but found it doesn't work. Will you please give some advice? Thanks.