All,

I am attempting to plot pie charts on a google map using segmentGoogleMaps function from the plotGoogleMaps library.  When I run the code below with the example data set, the google map appears, but the pie charts are absent.  Please help.


loc<- data.frame(Lat=rawData$Lat,Lon = rawData$Lon,rawData)
coordinates(loc) <- ~Lon+Lat
proj4string(loc) <- CRS("+proj=longlat")
m<-plotGoogleMaps( loc, filename="example1.htm",mapTypeId='ROADMAP')
m2 <- segmentGoogleMaps(loc,zcol=c('A','B','C'),mapTypeId = 'ROADMAP',filename='example.htm')

rawData =
      A  B  C     Lat        Lon
   310 20 33 38.1287  -76.58241
1136 19 63 31.6841  -81.60091
2377 17  1 40.5216 -120.13004
960 16 29 34.8945  -98.40689


Shawn



__________________________________________________________________________

This email message is for the sole use of the intended r...{{dropped:9}}

