|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 5/30/2008 8:19:16 AM
Posts: 4,
Visits: 8
|
|
| Hi, I have got an problem while using setDataXML method in which input string contain '%' but when i put the same string in xml and used setDataURL method the Fusionmap worked fine. But in my application I have xml string not xml file , so can you please help me regarding this? the code i have used is: var map = new FusionMaps("Maps/FCMap_World.swf", "Map1Id", "750", "460", "0", "0"); map.setDataXML("<map imageSave='1' imageSaveURL='FusionChartsSave.jsp?name=image_world1.jpg' borderColor='005879' fillColor='D7F4FF' numberSuffix='%' includeValueInLabels='1' labelSepChar=': ' baseFontSize='9'><data> <entity id='NA' value='515' /><entity id='SA' value='373' /><entity id='AS' value='3875' /><entity id='EU' value='727' /><entity id='AF' value='885' /><entity id='AU' value='32' /></data></map>"); map.render("mapdiv");
Thanks, []
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 7:54:06 AM
Posts: 644,
Visits: 1,948
|
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 5/30/2008 8:19:16 AM
Posts: 4,
Visits: 8
|
|
ya i know that but in that why it work fine in XML file? and I am facing same problem while putting %26 for '&' so in this case what can I do?
Thanks, []
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 7:54:06 AM
Posts: 644,
Visits: 1,948
|
|
|
|
|