
then mapgist
will simply read those options.
mapgist
has modified code from the rCharts package by Ramnath Vaidyanathan
mapgist(data, description = "", file = "gistmap", dir = NULL,
browse = TRUE, ...)
spocc_stylegeojson
spp <- c('Danaus plexippus','Accipiter striatus','Pinus contorta')
dat <- occ(spp, from=c('gbif','ecoengine'), gbifopts=list(hasCoordinate=TRUE))
dat <- fixnames(dat, "query")
# Define colors
mapgist(data=dat, color=c('#976AAE','#6B944D','#BD5945'))
mapgist(data=dat$gbif, color=c('#976AAE','#6B944D','#BD5945'))
mapgist(data=dat$ecoengine, color=c('#976AAE','#6B944D','#BD5945'))
# Define colors and marker size
mapgist(data=df, color=c('#976AAE','#6B944D','#BD5945'), size=c('small','medium','large'))
# Define symbols
mapgist(data=df, symbol=c('park','zoo','garden'))
Run the code above in your browser using DataLab