add support for removeing layers from the map