r-tmap/tmap

tmap.deckgl is born

Closed

#866 opened on Apr 19, 2024

 (5 comments) (4 reactions) (0 assignees)R (120 forks)batch import
Help wantedPublicity

Repository metrics

Stars
 (852 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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.

Contributor guide