Ich möchte Straßen von meiner Broschüre Karte in R entfernen. Gibt es eine Möglichkeit, Schichten wie Straßen, Seen, Staatsgrenzen, etc. zu entfernen?Broschüre Karte: Straße Schicht entfernen
Beispielcode:
library(leaflet)
library(plot3D)
top = 45 # north lat
left = -110 # west long
right = -90 # east long
bottom = 32 # south lat
longitudes= seq(left,right, length.out = 3)
latitude=seq(bottom,top,length.out = 5)
latlons_mesh=mesh(longitudes,latitude)
longitude=as.vector(latlons_mesh$x)
latitude=as.vector(latlons_mesh$y)
mydata=data.frame(longitude=longitude,
latitude=latitude)
leaflet(mydata)%>%fitBounds(right,bottom,left,top)%>%
addTiles()%>%
addMarkers()