light_settings: Light Settings

light_settingsR Documentation

Light Settings

Description

List object containg light settings.

Details

Available in add_geojson, add_pointcloud and add_polygon

  • numberOfLights - the number of lights. Maximum of 5

  • lightsPosition - vector of x, y, z coordinates. Must be 3x the nubmer of lights

  • ambientRatio - the ambient ratio of the lights

Examples


light <- list(
  lightsPosition = c(-150, 75, 0)
  , numberOfLights = 1
  , ambientRatio = 0.2
)


mapdeck documentation built on Nov. 29, 2025, 5:08 p.m.