@trafficonese I renamed extendLayerControl() to extendLayersControl() (mind the 's') to be in line with the original leaflet::addLayersControl().
I also adjusted a few things regarding CSS and default icons. Among other things, I added package {fontawesome} to Suggests, because I like those icons much better than the emojis.
All in all it now looks like this:
I am still not sure whether this is the end of what I have in mind, but I wanted to let you in on these changes as early as possible, given that you did all the work on this so far.
@trafficonese I renamed
extendLayerControl()
toextendLayersControl()
(mind the 's') to be in line with the originalleaflet::addLayersControl()
. I also adjusted a few things regarding CSS and default icons. Among other things, I added package{fontawesome}
to Suggests, because I like those icons much better than the emojis.All in all it now looks like this:
I am still not sure whether this is the end of what I have in mind, but I wanted to let you in on these changes as early as possible, given that you did all the work on this so far.
I hope that is OK with you. https://github.com/r-spatial/leafem/commit/18b80d601e5695207e484387b239338d7c23a2e4