Add error handling instead of empty downloads to the Download SVG functionality in the map