addMarkers弹出不正确r传单

时间:2016-10-25 12:15:32

标签: r leaflet marker

print popup的{​​{1}}菜单中尝试addMarkers()个信息 封装

这是我的数据框:

r leaflet

它正确地将引脚放在右lat长位置。

对于弹出窗口,这是我尝试过的:

quakes%>%
        filter(mag>5.5)%>%
        arrange(stations)

弹出窗口的值明显低于quakes%>% filter(mag>5.5)%>% arrange(stations)%>% leaflet()%>% addTiles()%>% addMarkers(popup=paste("Latitude:", quakes$lat, "<br>", "Longitude:", quakes$long, "<br>", "Station:",quakes$stations,"<br>", "Megnitude:", quakes$mag)) 我错过了什么?

0 个答案:

没有答案