r-tmap/tmap

tmap.deckgl is born

Chiusa

#866 aperta il 19 apr 2024

 (5 commenti) (4 reazioni) (0 assegnatari)R (120 fork)batch import
Help wantedPublicity

Metriche repository

Star
 (852 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

See https://github.com/r-tmap/tmap.deckgl

It's only a start, and mainly serves as a proof of concept for the extendibility of tmap.

remotes::install_github("r-tmap/tmap")
remotes::install_github("r-tmap/tmap.deckgl")

library(tmap)
library(tmap.deckgl)

tmap_mode("deck")
tm_shape(World) + tm_polygons("HPI", fill.scale = tm_scale_intervals(values = "RdYlGn"))

Help is welcome, especially from those who know deck.gl.

As a second proof of concept, I will add a new 3d layer type, probably called tm_polygons3D.

Guida contributor