Dear all,


I have just uploaded to CRAN a new version plotGoogleMaps.


Significant changes in plotGoogleMaps are listed below:

* Now plotGoogleMaps plot spacetime STDIF and STFDF data;

See example in vignette.

* Some bugs in plotting pie charts over Google Maps are repaired -
function segmentGoogleMaps;

* Functions provide data to be plotted in similar way like spplot
maps; pieSP, vectorsSP, colors like in plotGoogleMaps (PolyCol) and
similar are now in package.

  Example:

# plotGoogleMaps plot

library(plotGoogleMaps)

data(meuse)
coordinates(meuse)<-~x+y # convert to SPDF
proj4string(meuse) <- CRS('+init=epsg:28992')

m<-segmentGoogleMaps(meuse, zcol=c('zinc','dist.m'),
mapTypeId='ROADMAP', filename='myMap4.htm',
colPalette=c('#E41A1C','#377EB8'), strokeColor='black')

# spplot

pies<-pieSP(meuse,zcol=c('zinc','dist.m'), max.radius=100)

pies$pie2=rep(1:2,155)

spplot(pies, 'pie2', col.regions=c('#E41A1C','#377EB8') )

# plot

cols=PolyCol(pies$pie2,colPalette=c('#E41A1C','#377EB8') )$cols

plot(as(pies,'SpatialPolygons'), col=cols)

#plotKML

library(plotKML)

plotKML(pies, colour='pie2', colour_scale=cols)


All major changes are documented in the vignette.

Happy testing,


Milan Kilibarda

University of Belgrade,
Faculty of Civil Engineering,
Department of Geodesy and Geoinformatics,
Address: Bulevar kralja Aleksandra 73  11000 Belgrade, Serbia,
Mail:  kili@grf.bg.ac.rs

tel:+381 11 3218516

	[[alternative HTML version deleted]]

