Rescale arc stroke to a more appropriate pixel values.

scale_arc_stroke(globe, min = 0.1, max = 1)

Arguments

globe

An object of class globe as returned by create_globe, or an object of class globeProxy as returned by globeProxy.

min, max

Target minimum and maximum values of pixels.

Examples

# basic create_globe() %>% globe_img_url() %>% globe_arcs( data = usflights, coords ( start_lat, start_lon, end_lat, end_lon, stroke = cnt ) ) %>% scale_arc_stroke()