ganesh1412 Report post Posted November 14, 2009 Hi, I am using jBoss-Seam framework with eclipse platform with jBoss 5.1 server and using the trial version of Fusion map v3. i am trying to get the following code working(also attached). /p> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> xmlns:s="http://jboss.com/products/seam/taglib" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" xmlns:a="http://richfaces.org/a4j" template="layout/template.xhtml"> location_01 var map = new FusionMaps("FCMap_World.swf", "Map1Id", "750", "400", "0", "0"); map.setDataURL("FirstData.xml"); map.render("mapdiv"); but the map is not visible. What could have went wrong. Thanks in advance. Ganesh location_01.txt Share this post Link to post Share on other sites
Guest Madhumita Report post Posted November 16, 2009 Hello Ganesh, Welcome to FusionCharts Forum. Since, you have not declared a divison(<div> ) for the map to render, but have used map.render("mapdiv"); , the map is not showing. Please create a divison or HTML element with id='mapdiv' , where the map would render. Here's a piece of code: <div id="mapdiv" align="center"> FusionMaps will render here. </div> <script type="text/javascript"> var map = new FusionMaps("FCMap_World.swf", "Map1Id", "750", "400", "0", "0"); map.setDataURL("FirstData.xml"); map.render("mapdiv"); </script> </script> Hope this helps. Share this post Link to post Share on other sites
ganesh1412 Report post Posted November 18, 2009 Hi Madhumitha, THanks for the timely help. i can get the map on my screen now. Thank you, Ganesh Share this post Link to post Share on other sites
Guest Rajroop Report post Posted November 18, 2009 Hi Ganesh, Thank for your confirmation on this. Glad everything is working for you. Happy FusionCharting. Share this post Link to post Share on other sites