LayerInterface

LayerInterface

new LayerInterface(source, availableControls, disabledControls)

Source:
Parameters:
Name Type Description
source Object

object that provides info to the interface. usually a LayerRecord or FeatureClass

availableControls Array

[optional=[]] an array or controls names that are displayed inside the legendEntry

disabledControls Array

[optional=[]] an array or controls names that are disabled and cannot be interacted wiht by a user