简体   繁体   中英

“plotGoogleMaps enable to start device png” error

When plotting as spatialDataFrame with a factor as the first column and many levels you get the error "plotGoogleMaps enable to start device png".

What's wrong?

The problem is that it is trying to plot all the levels and the legend gets tooooo long. You should try to use a more meaningful column for the legend.

I created a fork that fixes this and other issues (some values in the data.frame could prevent plotGoogleMaps from plotting) : https://bitbucket.org/cmbce/plotgooglemaps . It is easy to install with devtools.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM