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

tm_inset bounding box rectangle #1155

@mtennekes

Description

@mtennekes
tm_shape(NLD_dist) +
	tm_polygons(
		fill = "dwelling_value",
		fill.scale = tm_scale_continuous_pseudo_log(values = "-cols4all.pu_gn_div"),
		col = NULL) +
	tm_shape(NLD_muni) +
	tm_borders(col = "black", lwd = 0.5) +
	tm_shape(NLD_prov) +
	tm_borders(col = "black", lwd = 1.5) +
	#add inset map
	tm_inset(bb("Utrecht"), height = 6, width = 6, position = c("left", "top"), frame = FALSE) 

Image

The bounding box should be drawn in the large map, ideally with a connection line (but this is difficult)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Plot-modeStatic mode issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions