Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. leaflet()%>%
  2. addTiles()%>%
  3. setView(lat = 51.545483, lng=9.905548,zoom=18)%>%
  4. addMarkers(lng = Ein$Longitude, lat = Ein$Latitude, popup =
  5. str_c(as.character(Ein$Ein),"Einstiege:",as.character(Ein$Einstiege),
  6. "Ausstiege:", as.character(Ein$Ausstiege),sep="<br/>") ,label =
  7. as.character(Ein$Ein))%>%
  8. addPolylines(data=lines1,color=~pal(lines1@data$`(pers = n())`),fillOpacity
  9. = 1,popup =str_c(as.character(lines1@data$ref), "Durchschnittliche
  10. Stationen", as.character(lines1@data$`(Stationen =
  11. mean(round(StationenGesamt, 2), na.rm = TRUE))`),"Durchschnittliche
  12. WLQ:",as.character(lines1@data$WLQ),sep="<br/>"))%>%
  13. addLegend(position="bottomright",pal=pal, values=lines1@data$`(pers = n())`,
  14. labels)%>%
  15. registerPlugin(polylineoffset_Plugin)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement