Rescale various aspects of arcs dashes.

scale_arc_dash_length(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.

Scales

  • Dash length: where 1 is the entire length of the arc.

Examples

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