Questions tagged [plotgooglemaps]

R package to plot spatial or spatio-temporal data over Google Maps.

18 questions
3
votes
1 answer

Connecting Spatial points with directed lines using PlotGoogleMaps package in R

I have been trying to do some dynamic Google Map plots from R using the PlotGoogleMaps package. I have no problem in plotting the Spatial Points on google maps using this package. I want to connect some pairs of the spatial points plotted with…
2
votes
0 answers

Icon marker in R's plotGoogleMaps

plotGoogleMap by default shows the paddle marker. I want to have a simple colored circle instead (where color is tied to the value of a variable in my data frame).If I use custom marker (by referencing a .jpg file path for iconmarker argument), I'm…
let_there_be_light
  • 837
  • 3
  • 9
  • 15
2
votes
1 answer

How to get image iconMarker working for plotGoogleMaps R?

What am I trying to do: I am trying to plot 2 groups of points (vessels) with different icons on a nice interactive map. (The vessels have longitude and latitude) The interactivity is important! The code will actually go inside an iframe in a shiny…
Peter
  • 284
  • 2
  • 9
2
votes
1 answer

How can I get proportional bubble sizes from R bubbleGoogleMaps?

I would like to use bubbleGoogleMaps to create a map of spatialpoints with bubbles sized proportionally to their individual value. Anyways, that is whatbubbleGoogleMaps is promising according to the documentation. However, I realized that the bubble…
chamaoskurumi
  • 2,271
  • 2
  • 23
  • 30
1
vote
0 answers

disable zoom, dragging in gvisMap

Is there a way to entirely disable dragging and/or zooming in gvisMap, and remove the zoom control also? I have looked at options under google.com developers docs referenced in the help for gvisMap(options) but can't see this control. Broadening…
Gerry
  • 113
  • 7
1
vote
0 answers

Need to add filters on the plotGooglemaps plotted map

I have been trying to do some dynamic Google Map plots from R using the PlotGoogleMaps() package. I have no problem in plotting the Spatial Points on google maps using this package. I want to add filters to this map on Loan_ID (a column in the data…
1
vote
1 answer

How to print google map output to pdf in R

At present I am working on sample data,where in I want to show the count of a metric for particular latitude and longitude. Data is below: count latitude longitude 1 -33.9742299 -59.2025543 1 -32.1833305 -64.4166718 1 40.069099 …
maddy kemen
  • 67
  • 2
  • 9
1
vote
1 answer

plotGoogleMaps html files do not open correctly in Internet Explorer version 11

I ran into a problem rendering a Google map in Internet Explorer version 11 that was created by plotGoogleMaps in R. The following code is from the tutorial that comes with the package: require(plotGoogleMaps) # Data preparation # Point…
Mac471
  • 423
  • 5
  • 16
1
vote
2 answers

plotGoogleMaps - Multiple layers of same variable controlled by legend thickbox

is there a way to design a map with plotGoogleMaps having a legend that controls layers of the same variable? Using meuse dataset from gstat package as an example, the goal would be to obtain a thickbox for each type of landuse. Therefore, letting…
Kvasir EnDevenir
  • 907
  • 1
  • 10
  • 25
1
vote
1 answer

.html plotGoogleMap does not load in shiny App when deployed on shinyapps.io

I am trying to embed a plotGoogleMap in a shiny app online. Locally the app works perfectly, but when uploading via shinyapps to shinyapps.io the .html map does not load. Any ideas how to solve this issue? See my code…
chamaoskurumi
  • 2,271
  • 2
  • 23
  • 30
1
vote
0 answers

.png legend of plotGoogleMaps not displayed in R shiny App

I would like to embend a map produced with plotGoogleMap (= a .html output external to R) in a shiny App. Thanks to ramnathv's code I managed to do so. However, unfortunately the legend does not display on the map. It seems the legend is a .png…
chamaoskurumi
  • 2,271
  • 2
  • 23
  • 30
0
votes
1 answer

"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?
cmbarbu
  • 4,354
  • 25
  • 45
0
votes
0 answers

View result of plotGoogleMap

Similar to this question: Plotting UK postcodes on a map in R I am trying to plot various postcodes on a map using the plotGoogleMaps function, however when I get to the last step e.g. m <- plotGoogleMaps(UK_Map , filename='MAP_UK.html') Nothing…
MLMM
  • 85
  • 2
  • 8
0
votes
1 answer

Error in loading the results from plotGoogleMaps

I am trying to run the following example on plotGoogleMaps: library(plotGoogleMaps) data(meuse) coordinates(meuse)<-~x+y # convert to SPDF proj4string(meuse) <- CRS('+init=epsg:28992') # adding Coordinate Referent Sys. # Create web map of Point…
Shana
  • 11
  • 2
0
votes
0 answers

Issue with PlotGoogle Map of R

I am having an issue with the PlotGoogleMap package of R. When I am trying to plot my points(Lat, Long) using this package , then some of my points doesn't get plotted. I don't how to deal with this issue. coordinates(engine) <- ~longt+latit #…
SK Singh
  • 153
  • 1
  • 1
  • 14
1
2