1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
| options(browser =getOption("viewer")) data(demoC)
geoData = get_geo_position(unique(demoC[demoC==demoC]))
remapB(markLineData = demoC,geoData = geoData) remapB(markLineData = demoC,geoData = geoData, markLineTheme = markLineControl(color = 'red')) data(demoC) demoC$tooltip = sample(letters,nrow(demoC)) remapB(markLineData = demoC,geoData = geoData, markLineTheme = markLineControl(color = 'red')) newdata = data.frame(a = demoC[,2], color = c(rep("blue",5),rep("red",5))) remapB(markPointData = newdata, color = "Blue",geoData = geoData) newdata$symbolSize = 1:10 remapB(markPointData = newdata, color = "Blue",geoData = geoData) newdata$tooltip = paste(newdata$a,newdata$symbolSize,sep = ":") remapB(markPointData = newdata, color = "Blue",geoData = geoData) data(chinaIphone)
mapdata = chinaIphone geoData = get_geo_position(unique(demoC[demoC==demoC])) out = remapC(data = mapdata, color = c("white","white"), theme=get_theme("none","white","white","white",'white'), markPointData = demoC[,2], markPointTheme = markPointControl( symbol = "image://http://lchiffon.github.io/reveal_slidify/pic/ghost.png", symbolSize = 50, effectType = 'bounce' ), geoData = geoData) out
|