Wrangled the shapefiles into a list and added UI as well as dotted polylines. However, the mechanism of control is not very sophisticated - a series of if/else statements with leaflet::clearShapes(). Is there a more elegant way to control what is shown by the leaflet maps?
Wrangled the shapefiles into a list and added UI as well as dotted polylines. However, the mechanism of control is not very sophisticated - a series of if/else statements with leaflet::clearShapes(). Is there a more elegant way to control what is shown by the leaflet maps?