Function layerDecoration

  • Provides a function that adds properties (using Object.defineProperty) to the layer, making it possible to control layer properties with ngModel.

    Example:

     <input type="checkbox" ngModel="layer.visible" />
    

    Parameters

    • layer: BaseLayer

      Layer to decorate.

    Returns void

Generated using TypeDoc