Time for action — creating the XML for our first map
1. Create an empty XML file in the
LearningFusionMaps
folder and name it asData.xml
.2. Write the following XML in the file and save it:
<map fillColor='F1F1F1' numberPrefix='$'> <colorRange> <color minValue='0' maxValue='40000' displayValue='Poor' color='FF9377' /> <color minValue='40000' maxValue='100000' displayValue='Average' color='FFFFCC' /> <color minValue='100000' maxValue='5000000' displayValue='Good' color='A7E9BC' /> </colorRange> <data> <entity id='AL' value='78000' /> <entity id='CA' value='148000' /> <entity id='FL' value='95100' /> <entity id='HI' value='77000' /> <entity id='IL' value='21000' /> <entity id='LA' value='128000' /> <entity id='MA' value='50000' /> <entity id='NV' value='93000' /> <entity id='NY' value='128000' /> <entity id='TX' value='38000' /> </data> </map>
What just happened?
We just defined...