powered by
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 )
Run the code above in your browser using DataLab