Marker XML > What is it? |
As you're already aware, FusionMaps lets you create your custom defined markers on the map, using the visual GUI. You can define as many markers for each map and then apply them. For your ease, we've created marker definitions of important cities for most maps in the suite. The XML files for each marker definition can either be accessed using the menu on the left, or they can be found in Download Package > MarkerXML folder. A typical marker XML file looks as under: |
<map> <markers> <shapes> <shape id='myCustomShape' type='circle' fillColor='FFFFFF,333333' fillPattern='radial' showBorder='0' radius='4'/> </shapes> <definition> <marker id='AL' x='485.4' y='284.19' label='Montgomery' labelPos='right' /> <marker id='AK' x='155.69' y='396.45' label='Juneau' /> <marker id='AZ' x='163.79' y='265.98' label='Phoenix' /> <marker id='AR' x='412.58' y='255.87' label='Little Rock' labelPos='bottom' /> <marker id='CA' x='55.57' y='197.21' label='Sacremento' labelPos='bottom' /> <marker id='CO' x='246.72' y='179.01' label='Denver' /> <marker id='CT' x='654.3' y='143.61' label='Hartford' labelPos='bottom' /> <marker id='DE' x='619.91' y='187.1' label='Dover' labelPos='right' /> <marker id='GA' x='514.73' y='270.03' label='Atlanta' /> <marker id='HI' x='212.33' y='366.11' label='Honululu' /> <marker id='ID' x='113.22' y='116.3' label='Boise' labelPos='bottom' /> <marker id='IL' x='447.98' y='176.98' label='Springfield' /> <marker id='IN' x='485.4' y='176.98' label='Indianapolis' labelPos='bottom' /> <marker id='IA' x='396.4' y='144.62' label='Des Moines' /> <marker id='KS' x='356.96' y='188.11' label='Topeka' /> <marker id='KY' x='495.51' y='204.29' label='Frankfort' labelPos='bottom' /> <marker id='LA' x='425.73' y='315.54' label='Baton Rouge' labelPos='left' /> <marker id='ME' x='688.68' y='89' label='Augusta' labelPos='bottom' /> <marker id='MD' x='606.76' y='186.09' label='Annapolis' labelPos='bottom' /> <marker id='MA' x='673.51' y='133.5' label='Boston' /> <marker id='MI' x='505.63' y='117.31' label='Lansing' labelPos='right' /> <marker id='MN' x='398.42' y='91.02' label='St.Paul' labelPos='bottom' /> <marker id='MS' x='435.84' y='286.21' label='Jackson' labelPos='bottom' /> <marker id='MO' x='409.55' y='201.26' label='Jefferson City' labelPos='bottom' /> <marker id='MT' x='156.71' y='65.73' label='Helena' labelPos='bottom' /> <marker id='NE' x='355.94' y='160.8' label='Lincoln' /> <marker id='NV' x='71.75' y='186.09' label='CarsonCity' labelPos='right' /> <marker id='NH' x='671.49' y='113.27' label='Concord' labelPos='left' /> <marker id='VT' x='652.27' y='106.19' label='Montpelier' /> <marker id='NJ' x='628' y='171.93' label='Trenton' labelPos='right' /> <marker id='NM' x='237.61' y='247.78' label='Santa Fe' /> <marker id='NY' x='637.1' y='125.4' label='Albany' labelPos='bottom' /> <marker id='NC' x='575.41' y='237.67' label='Raleigh' labelPos='right' /> <marker id='ND' x='303.35' y='55.62' label='Bismarck' labelPos='bottom' /> <marker id='OH' x='525.85' y='172.94' label='Columbus' /> <marker id='OK' x='345.83' y='239.69' label='Oklahoma City' /> <marker id='OR' x='29.27' y='86.97' label='Salem' labelPos='right' /> <marker id='PA' x='599.68' y='163.84' label='Harrisburg' /> <marker id='RI' x='669.47' y='143.61' label='Providence' labelPos='right' /> <marker id='SC' x='549.11' y='263.96' label='Columbia' labelPos='right' /> <marker id='SD' x='308.41' y='95.06' label='Pierre' /> <marker id='TN' x='476.3' y='231.6' label='Nashville' labelPos='right' /> <marker id='TX' x='341.79' y='308.46' label='Austin' labelPos='left' /> <marker id='UT' x='164.8' y='160.8' label='Salt Lake City' /> <marker id='VA' x='598.67' y='216.43' label='Richmond' labelPos='left' /> <marker id='WA' x='25.23' y='53.6' label='Olympia' /> <marker id='WV' x='552.15' y='188.11' label='Charleston' labelPos='bottom' /> <marker id='WI' x='444.94' y='119.34' label='Madison' /> <marker id='WY' x='257.84' y='148.67' label='Cheyenne' /> <marker id='FL' x='508.66' y='317.56' label='Tallahassee' /> </definition> <application> <marker id='AL' shapeId='myCustomShape' /> <marker id='AK' shapeId='myCustomShape' /> <marker id='AZ' shapeId='myCustomShape' /> <marker id='AR' shapeId='myCustomShape' /> <marker id='CA' shapeId='myCustomShape' /> <marker id='CO' shapeId='myCustomShape' /> <marker id='CT' shapeId='myCustomShape' /> <marker id='DE' shapeId='myCustomShape' /> <marker id='GA' shapeId='myCustomShape' /> <marker id='HI' shapeId='myCustomShape' /> <marker id='ID' shapeId='myCustomShape' /> <marker id='IL' shapeId='myCustomShape' /> <marker id='IN' shapeId='myCustomShape' /> <marker id='IA' shapeId='myCustomShape' /> <marker id='KS' shapeId='myCustomShape' /> <marker id='KY' shapeId='myCustomShape' /> <marker id='LA' shapeId='myCustomShape' /> <marker id='ME' shapeId='myCustomShape' /> <marker id='MD' shapeId='myCustomShape' /> <marker id='MA' shapeId='myCustomShape' /> <marker id='MI' shapeId='myCustomShape' /> <marker id='MN' shapeId='myCustomShape' /> <marker id='MS' shapeId='myCustomShape' /> <marker id='MO' shapeId='myCustomShape' /> <marker id='MT' shapeId='myCustomShape' /> <marker id='NE' shapeId='myCustomShape' /> <marker id='NV' shapeId='myCustomShape' /> <marker id='NH' shapeId='myCustomShape' /> <marker id='VT' shapeId='myCustomShape' /> <marker id='NJ' shapeId='myCustomShape' /> <marker id='NM' shapeId='myCustomShape' /> <marker id='NY' shapeId='myCustomShape' /> <marker id='NC' shapeId='myCustomShape' /> <marker id='ND' shapeId='myCustomShape' /> <marker id='OH' shapeId='myCustomShape' /> <marker id='OK' shapeId='myCustomShape' /> <marker id='OR' shapeId='myCustomShape' /> <marker id='PA' shapeId='myCustomShape' /> <marker id='RI' shapeId='myCustomShape' /> <marker id='SC' shapeId='myCustomShape' /> <marker id='SD' shapeId='myCustomShape' /> <marker id='TN' shapeId='myCustomShape' /> <marker id='TX' shapeId='myCustomShape' /> <marker id='UT' shapeId='myCustomShape' /> <marker id='VA' shapeId='myCustomShape' /> <marker id='WA' shapeId='myCustomShape' /> <marker id='WV' shapeId='myCustomShape' /> <marker id='WI' shapeId='myCustomShape' /> <marker id='WY' shapeId='myCustomShape' /> <marker id='FL' shapeId='myCustomShape' /> </application> </markers> </map> |
As you can see above, all the markers have been defined and applied in each XML. If you wish to now show a marker in your map, you have two options:
For more information on how to use markers, customize them and connect them using connectors, please see the section How to use FusionCharts > Markers. |