| validateNewLayer | R Documentation | 
Stops with an error if the specified layer cannot be added to the specified NGCHM.
validateNewLayer(chm, layer)
| chm | The CHM to which the new layer is being added. | 
| layer | The new layer is being added. | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.