R笔记 map_leaflet googlevis

packages : map leaflet

library(leaflet)
library(maps)
mapStates = map("state", fill = TRUE, plot = FALSE)
leaflet(data = mapStates) %>% addTiles() %>%
  addPolygons(fillColor = topo.colors(10, alpha = NULL), stroke = FALSE)

另外一张

posted @ 2016-05-25 07:28  li_volleyball  阅读(394)  评论(0编辑  收藏  举报