SaveMap

From CMSC 420
Revision as of 23:57, 10 September 2013 by Rforsythe (talk | contribs) (Created page with "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 partitio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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. How to keep track of your graphic map is discussed in the previous section. Printing it out is discussed there too.

Parameters[edit]

  • name (filename to save the image to)

Possible <output>[edit]

  • (None)

Possible <error> types[edit]

  • (None)

<success> Example[edit]

   <success>
       <command name="saveMap"/>
       <parameters>
           <name value="map_1"/>
       </parameters>
       <output/>
   </success>