PointCloudLayer - change point size and density

Note: Support for 3D on mobile devices may vary, view the system requirements for more information.

This sample shows how to change size and density of points in a PointCloudLayer. Each PointCloudLayer renderer has two properties: pointSizeAlgorithm and pointsPerInch. Setting these will adjust the size and the density of the points.

var pointCloudRGBRenderer = {
  type: "point-cloud-rgb",  // autocasts as new pointCloudRGBRenderer()
  field: "RGB",
  pointSizeAlgorithm: {
    type: "fixed-size",
    useRealWorldSymbolSizes: false,
    size: 10
  pointsPerInch: 15

Sample search results