Changes

770 bytes added ,  23:31, 10 September 2013
Created page with "Removes a city with the specified name from data dictionary and the adjacency list. The criteria for success here is simply that the city exists. Note that if the city has bee..."
Removes a city with the specified name from data dictionary and the adjacency list. The criteria for success here is simply that the city exists. Note that if the city has been mapped, then it must be removed from the PR quadtree first, and then deleted.

== Parameters ==
* name

== Possible <output> ==
If the city is in the spatial data structure, a ''cityUnmapped'' tag will appear as:
<br>
<code>
<cityUnmapped name="city1" x="coordx" y="coordy" color="color1" radius="radius1"/>
</code>

== Possible <error> types (In priority order) ==
* cityDoesNotExist

== <success> Example ==
<code>
<success>
<command name="deleteCity"/>
<parameters>
<name value="Annapolis"/>
</parameters>
<output/>
</success>
</code>
editor
68

edits