Questions tagged [mapview]

An R package to visualize or plot spatial data interactively

Filter by
Sorted by
Tagged with
0
votes
0answers
1k views

Adding polylines to leaflet map in R

I am trying to add great circle routes between various regions in R. Here's the sample data: structure(list(CommencingRegion = c("RedSea", "EastAfrica", "GulfofMexico", "FarEast", "RedSea", "...
0
votes
1answer
180 views

r-Mapview non reponsive with large simple feature dataframe?

I am trying to visualize a large sf dataframe with around 1000 rows containing linestrings with mapview::mapview() in R. Unfortunately a warning comes up when I perform the command: mapview(data....
2
votes
1answer
758 views

How to embed a mapview map in a Jupyter Notebook with IRkernel?

I'm looking to integrate some awesome mapview interactive maps in a Jupyter Notebook with the IRkernel. I would like to know if: Is it possible? How can I achieve that? Is there any workaround using ...
1
vote
1answer
637 views

How to display legend in mapview when using cex argument

Giving the example: library(sp) library(mapview) data(meuse) coordinates(meuse) <- ~x+y proj4string(meuse) <- CRS("+init=epsg:28992") mapview(meuse, cex = "cadmium", legend = TRUE) I was ...
5
votes
1answer
750 views

Enabling hover popup window for feature IDs in Mapview package for R

I've been working with interactive mapping within R for a while now and most of my experience lies in Leaflet (mostly the R package, but also a bit in Javascript). I just recently delved into mapview ...