Skip to content

Commit 7fb33eb

Browse files
committed
reduced line width for connections of POI to rivers
1 parent a4a2967 commit 7fb33eb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

R/berlin.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,11 @@ Berlin_add_poi <- function(
189189
if(!dashed_connection){
190190
lines(x = c(df_plot$x_longitude[i], df_plot$link_longitude[i]),
191191
y = c(df_plot$y_latitude[i], df_plot$link_latitude[i]),
192-
col = fillColor, lwd = 2)
192+
col = fillColor, lwd = 1)
193193
} else {
194194
lines(x = c(df_plot$x_longitude[i], df_plot$link_longitude[i]),
195195
y = c(df_plot$y_latitude[i], df_plot$link_latitude[i]),
196-
col = lineColor, lwd = 2, lty = "dotted")
196+
col = lineColor, lwd = 1, lty = "dotted")
197197
}
198198
}
199199
}
@@ -223,7 +223,7 @@ Berlin_add_poi <- function(
223223
} else if(legendPosition == "topleft"){
224224
xP <- par("usr")[1] + x_plot_value_range / 10 * 0.2
225225
}
226-
ytop <- par("usr")[4] - y_plot_value_range / 10 * 0.2
226+
ytop <- par("usr")[4] - y_plot_value_range / 10 * 0.4
227227

228228
points(
229229
x = xP, y = ytop - (n -1) * y_width * 1.5,

0 commit comments

Comments
 (0)