Note: The above code is generated assuming a specific map image named 'map.png' is available.