Add a flag to remove the dim on the map
Updated version