mipa Report post Posted December 11, 2012 Hi, I'm trying to print a map inside a page with fusioncharts inclused. the charts are rendered without problems, using the printmanager, but the fields of the maps are always empty in print. after few hours without figuring out why, i've downloaded the newest trial of fusion maps, end even with using the printing example from the manual, I'm unable to print the map.. what i'm doin wrong? does that code work for anybody? <html> <head> <title>FusionCharts Print Manager</title> <script type="text/javascript" src="FusionMaps_XT_Trial/Maps/FusionCharts.js"></script> </head> <body> <div id="mapContainerDiv">FusionMaps XT will load here!</div> <script type="text/javascript"><!-- FusionCharts.printManager.enabled(true); var myMap = new FusionCharts( { "swfUrl" : "FusionMaps_XT_Trial/Maps/FCMap_WorldwithCountries.swf", "width" : "800", "height" : "500", "renderAt" : "mapContainerDiv", "dataFormat" : "xml", "id" : "mapContainer", "dataSource" : "<map> <colorRange> <color minValue='288390' maxValue='480652' displayValue='Very High' color='B80000' /> <color minValue='192260' maxValue='288390' displayValue='High' color='ECA600' /> <color minValue='96137' maxValue='192260' displayValue='Moderate' color='FFCC33' /> <color minValue='0' maxValue='96137' displayValue='Very Low' color='008200' /></colorRange><data></data></map>" } ).render(); FusionCharts.addEventListener ( FusionChartsEvents.PrintReadyStateChange , function (identifier, parameter) { if(parameter.ready){ alert("Map is now ready for printing."); document.getElementById('printButton').disabled = false; } }); // --></script> <input type="button" onclick="FusionCharts.printManager.managedPrint()" value="Managed Print" disabled="disabled" id="printButton" > </body> </html> Share this post Link to post Share on other sites
mipa Report post Posted December 11, 2012 seems that it works with FCMap_World.swf but not with FCMap_WorldwithCountries.swf Share this post Link to post Share on other sites
Swarnam Report post Posted December 24, 2012 Hey, Apologies for the delayed response. FCMap_WorldWithCountries.swf issue related to printing was a known issue. Our developers have currently fixed the issue internally. The updated fix will be available in our next service release of FusionMaps. Hope this helps. Share this post Link to post Share on other sites