Description Usage Arguments Examples
View source: R/markPointControl.R
markPointControl is a function for the themes of mark Point, which can be set as a element in remapC and remapB
1 2 3 4 5 | markPointControl(symbol = 'emptyCircle',
symbolSize = "Random",
effect = T,
effectType = 'scale',
color = "Random")
|
symbol |
the symbol of the point default:'pin', can be one of the 'circle','rectangle', 'triangle','diamond','emptyCircle','emptyRectangle', 'emptyTriangle','emptyDiamond','heart','droplet','pin','arrow' 'tar' or the filepath to a fingure file(e.g. "'image://http://echarts.baidu.com/doc//asset/ico/favicon.png'") |
symbolSize |
the size of the symbol, default is 10 |
effect |
whether to show glow effect for markPoint symbol |
effectType |
'scale' or 'bounce' |
color |
control the color of the markPoint |
1 2 3 4 5 6 7 8 9 10 11 12 | 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.