This took ages to come to a very unsatisfactory solution.
Things I found out you couldn't do:
suppress any marker from being drawn by the leaflet.extras::addDrawToolbar
delete the markers drawn by the toolbar
add a layerId to markers drawn by the toolbar
change the size of markers drawn by the toolbar
So I settled on drawing the markers with just the toolbar but using their position in the analysis. The points are bigger than the ones imported from CSV and GBIF but I think we'll just have to live with that.
This took ages to come to a very unsatisfactory solution.
Things I found out you couldn't do:
leaflet.extras::addDrawToolbar
layerId
to markers drawn by the toolbarSo I settled on drawing the markers with just the toolbar but using their position in the analysis. The points are bigger than the ones imported from CSV and GBIF but I think we'll just have to live with that.