added the possibility to add a scale to the map.