clear_layer function

Clear a layer from a map using a proxy