remove Layer
Removes the layer. Any references to the layer become invalid and should not be used anymore
Return
true if the layer was removed, false otherwise
Parameters
layer Id
the layer to remove
Removes the layer. The reference is re-usable after this and can be re-added
Return
true if the layer was removed, false otherwise
Parameters
layer
the layer to remove