这是indexloc提供的服务,不要输入任何密码
Skip to content

Spurious message: [view mode] Map component tm_chart_none() not supported in "view" mode. when saving to html #1143

@Nowosad

Description

@Nowosad
library(tmap)
library(sf)
#> Linking to GEOS 3.13.0, GDAL 3.10.3, PROJ 9.6.0; sf_use_s2() is TRUE
library(spData)
tm = tm_shape(nz) +
  tm_polygons() +
  tm_text("Name", fontface = "italic")
tm

tmap_save(tm, "my_map.html")
#> [view mode] Map component `tm_chart_none()` not supported in "view" mode.
#> This message is displayed once per session.
#> Interactive map saved to /tmp/Rtmp1A4fr8/reprex-12e62697641e8-vivid-eider/my_map.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions