Saves the current map to a file. The image file should be saved with the correct name. It should match our image file: same dimensions, same cities, same colors, same partitions, etc. Roads should be drawn as black (java.awt.Color.BLACK) line segments. Everything else from Part 1 will be the same (e.g. Cities should be drawn as black (java.awt.Color.BLACK) named points) with one exception: To differentiate from Roads, quadtree partitions should now be gray (java.awt.Color.GRAY) crosses.
Parameters
- name (filename to save the image to)
Possible <output>
- (None)
Possible <error> types
- (None)
<success> Example
<success>
<command name="saveMap" id="6"/>
<parameters>
<name value="map_1"/>
</parameters>
<output/>
</success>