light_settings | R Documentation |
List object containg light settings.
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
light <- list(
lightsPosition = c(-150, 75, 0)
, numberOfLights = 1
, ambientRatio = 0.2
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.