Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

Sets the visibility for the specified layer name, for both polygon and marker layers.

Parameters:

  • layerName (string): The name of the layer to update

  • visible (boolean): If true, then show the layer; if false, then hide the layer

...