remove wms layer when removed from map