Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

7. Creating Maps for your Applications > Time for action — creating the XML for...

Time for action — creating the XML for our first map

  1. Create an empty XML file in the LearningFusionMaps folder and name it as Data.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>
    

  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint