View Single Post
  #2 (permalink)  
Old 06-28-2009, 03:17 PM
arno arno is offline
Junior Member
 
Join Date: Apr 2009
Posts: 15
Default

hi every body
i have found the problem
when i use the ids decribed into the webinar it works (TX for texas for example)
but when i use the Europe map (or whatever the map i use) and use CH for swiss this does not work.
i have tried to run the europe map with these hardcoded values:

<entity id='FR' value ='18000' /> <entity id='FI' value ='37500' /> <entity id='DE' value ='45800' /> <entity id='BE' value ='15' /> <entity id='CH' value ='5252' />
none of them works.

in summary:
when i use the FCMap_USA.swf with the dataXML variable:
"<map animation='1' showShadow='1' showBevel='1' showMarkerLabels='1'
fillColor ='F1F1F1' borderColor='000000'
baseFont='Verdana' baseFontSize='10' markerBorderColor='000000'
markerBgColor='FF5904' markerRadius='6'
legendPosition='bottom' useHoverColor='1' hoverColor='FF00FF'
showMarkerToolTip='1' numberPrefix='$'>
<data>
<entity id='AK' value='18000' />
<entity id='AL' value='37500' />
<entity id='TX' value='45800' />
<entity id='IL' value='15' />
<entity id='CA' value='5252' />
</data>
<colorRange>
<color minValue='0' maxValue='18500' displayValue='below Value' color='CC0001' />
<color minValue='18501' maxValue='37000' displayValue='results OK' color='FFCC33'/>
<color minValue='37001' maxValue='500000000' displayValue='supercool' color='069F06'/>
</colorRange>
</map>"
the colors appeared with no problems and everything is fine.

but if i use the FCMap_Europe.swf with the following dataXML variable:
"<map animation='1' showShadow='1' showBevel='1' showMarkerLabels='1'
fillColor ='F1F1F1' borderColor='000000'
baseFont='Verdana' baseFontSize='10' markerBorderColor='000000'
markerBgColor='FF5904' markerRadius='6'
legendPosition='bottom' useHoverColor='1' hoverColor='FF00FF'
showMarkerToolTip='1' numberPrefix='$'>
<data>
<entity id='BE' value='18000' />
<entity id='FR' value='37500' />
<entity id='ES' value='45800' />
<entity id='DE' value='15' />
<entity id='CH' value='5252' />
</data>
<colorRange>
<color minValue='0' maxValue='18500' displayValue='below Value' color='CC0001' />
<color minValue='18501' maxValue='37000' displayValue='results OK' color='FFCC33'/>
<color minValue='37001' maxValue='500000000' displayValue='supercool' color='069F06'/>
</colorRange>
</map>"

nothing appeared

so how may i reach the ids of each part of these maps?
or does only the US map works?

thanks for your answers

Last edited by arno : 06-28-2009 at 10:50 PM. Reason: for more accuracy
Reply With Quote