Returns icon properties with default values for iconAtlas, iconMapping and getIcon, so that the default icon is used.

use_default_icon_properties(
  sizeScale = 15,
  getSize = 5,
  getColor = c(240, 140, 0)
)

Arguments

sizeScale

icon size multiplier

getSize

height of each object (in pixels), if a number is provided, it is used as the size for all objects, if a function is provided, it is called on each object to retrieve its size

getColor

rgba color of each object, if an array is provided, it is used as the color for all objects if a function is provided, it is called on each object to retrieve its color