Export a map with the extent of a spatial object in SVG format.
SVG export is the perfect solution for editing maps with desktop vector
graphics software. SVG is a vector graphics file format.
If width is specified, then height is deduced from the width/height
ratio of x. Alternatively, if height is specified, then width
is deduced from the width/height ratio of x.
This helps to produce maps without too much wasted space.
Use dev.off to finish the export (see Examples).