Skip to content

Commit 933a020

Browse files
author
Tim Appelhans
committed
increase width cutoff for layer name for list methos, #477
1 parent 270d325 commit 933a020

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

R/mapView.R

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,8 +1326,13 @@ setMethod('mapView', signature(x = 'list'),
13261326
map.types = mapviewGetOption("basemaps"),
13271327
verbose = mapviewGetOption("verbose"),
13281328
popup = TRUE,
1329-
layer.name = deparse(substitute(x,
1330-
env = parent.frame())),
1329+
layer.name = deparse(
1330+
substitute(
1331+
x
1332+
, env = parent.frame()
1333+
)
1334+
, width.cutoff = 500L
1335+
),
13311336
label = lapply(x, makeLabels),
13321337
legend = mapviewGetOption("legend"),
13331338
homebutton = mapviewGetOption("homebutton"),

man/mapView.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)