|
|||
|
HI everybody
i have seen the "incorporating flash maps in your report" webinar but despite i have followed strictly what the webinar said, no colors appeared i have got the map, the legend is ok , but it seems that no data are passed to the swf file. Even if i hardcoded the data like described in the webinar nothing worked. where may i find help? or where may i find the samples from the webinar in order to check what is wrong from my side. thanks in advance Last edited by arno : 06-28-2009 at 11:50 AM. Reason: faults |
|
|||
|
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 |
|
|||
|
Hi arno,
The Europe Map is looking for different IDs based on the chart below. You can find this chart, and other help by double-clicking on your Flash Object, and then pressing the small question mark at the bottom left of the window. You can also look at the section called Defining Custom IDs which will show you how to use the <entityDef> tag to define custom IDs. I've enclosed my example that has both US and Europe maps. ********************* Europe Map Specification Sheet Map Name:Europe Map SWF Name: FCMap_Europe.swf Dimensions (Width x Height):620 x 600 pixels Selection:Countries List of Entities Internal Id Short Name Long Name 001 AL Albania 002 AD Andorra 003 AT Austria 004 BY Belarus 005 BE Belgium 006 BA Bosnia and Herzegovina 007 BG Bulgaria 008 HY Croatia 009 CZ Czech Republic 010 DK Denmark 011 EE Estonia 012 FI Finland 013 FR France 014 DE Germany 015 GR Greece 016 HU Hungary 017 IS Iceland 018 IE Ireland 019 IT Italy 020 LV Latvia 021 LI Liechtenstein 022 LT Lithuania 023 LU Luxembourg 024 MK Macedonia 025 MT Malta 026 MD Moldova 027 MC Monaco 028 MO Montenegro 029 NL Netherlands 030 NO Norway 031 PL Poland 032 PT Portugal 033 RO Romania 034 SM San Marino 035 CS Serbia 036 SK Slovakia 037 SL Slovenia 038 ES Spain 039 SE Sweden 040 CH Switzerland 041 UA Ukraine 042 UK United Kingdom 043 VA Vatican City 044 CY Cyprus 045 TK Turkey 046 RU Russia |
|
|||
|
hi Virgil
thanks for your answer i tried for EUROPE and it works for all the countries in this map. i have found also your help and it is very useful thanks for your help Arno Last edited by arno : 06-29-2009 at 11:49 AM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|