adding example showing how to remove a single layer from the map object and update the map viewer widget