anila Report post Posted December 22, 2009 Hi, I want to implement the same thing as done in http://www.fusioncharts.com/maps/Demos/AJAX/Index.html If i click on an entity inside an fusion map it should show one more frame with another map and if i close the frame it should show same page where i clicked entity before. I am alreadt went through the documentation for drilldown. there i am confussing with frames. how to relate jsps wth frames? Let me know how to acchive this. Thanks in advance..... Share this post Link to post Share on other sites
anila Report post Posted December 23, 2009 Hi, Please any body can help me on this. I used link as link='F-detailsFrame-design/jsp/ShowDetails.jsp' in entity tag. insted of opening page in frame,it is opening in new page. Let me know the includes for this. i am adding fussionmaps.js to my jsp. i have to add any other files to work this thing. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted December 23, 2009 Hi Anila, Could you please let us know the version of the FusionMaps that you are using? Awaiting your reply. :hehe: Share this post Link to post Share on other sites
anila Report post Posted December 28, 2009 Hi, Thanks for your replay. I am using FusionMaps v3 licensed verstion for development. Share this post Link to post Share on other sites
FusionCharts Support Report post Posted December 28, 2009 Hi Anila, Merry Christmas!:w00t: Hope you are doing fine. It seems that your application does not have a frame with name detailsFrame. That might be the reason why it is opening in a new window. Please check. You need to have the frame (<frame> or <iframe> ) existing to open the desired file in that frame. Share this post Link to post Share on other sites
anila Report post Posted December 28, 2009 Hi, Thanks for your wises,I wish u the same..... I have frame with name,here is the code it is opening page in new page insted of frame. <frameset rows="450,*" cols="*" frameborder="YES" border="1" framespacing="0"> <frame src="index.jsp" name="mapFrame" scrolling="NO" noresize > <frame src="design/jsp/ShowDetails.jsp" name="detailsFrame" scrolling="NO" noresize> </frameset> Let me know whats wrong i am doing here. Share this post Link to post Share on other sites
FusionCharts Support Report post Posted December 28, 2009 Hi Anila, I am a bit consufed about how you "close the frame". Generally the frames remained defined in the page itself. Let me send you a sample which might help you. It uses world map - click on the Europe entity and Europe map opens in a frame. Please use the map swf files that you have to see the sample. frameSampleDrillToMap.zip Share this post Link to post Share on other sites
anila Report post Posted December 28, 2009 Hi, Thanks for your help. i want same thing what they implemented here http://www.fusioncharts.com/maps/Demos/AJAX/Index.html i dont know ajax. please help me on this. how they are generating frame by clicking on entity. Share this post Link to post Share on other sites
Guest Madhumita Report post Posted December 30, 2009 Hey Anila, Please refer to the following forum link: http://www.fusioncharts.com/forum/Topic22030-11-1.aspx Share this post Link to post Share on other sites
anila Report post Posted December 31, 2009 (edited) Hi Madhumita, Thanks for your reply. I placed all the SWF files in maps folder. but it is not displaying USA map. i m not getting to debug.how to fix it? here i am attaching the code. Let me know the mistakes what i did. Edited December 31, 2009 by Guest Share this post Link to post Share on other sites
anila Report post Posted December 31, 2009 Hi, sorry i am not able to upload the code. any way i added USA & States swf files list to maps. tats wat i did additinoly from existed code. Share this post Link to post Share on other sites
anila Report post Posted December 31, 2009 Hi, If i enable the debug mode. it is showing like this,but it is not displaying map. Info: Map loaded and initialized. Version: 3.1.0 Map Objects: BACKGROUND PLOT LABELS LEGEND TOOLTIP MARKERS MARKERLABELS MARKERCONNECTORS Initial Width: 950 Initial Height: 400 Scale Mode: noScale Debug Mode: Yes Application Message Language: EN INFO: Map registered with external script. DOM Id of map is PM0 INFO: XML Data provided using dataXML method. XML Data: <map animation="0" showLabels="0" borderAlpha="0" fillColor="FFFFFF" fillAlpha="0" usehoverColor="0" showToolTip="0" bgAlpha="0" CanvasBorderAlpha="0" showShadow="0" showBevel="0" /> Share this post Link to post Share on other sites
anila Report post Posted December 31, 2009 Hi, we need to deploy this code source on any web server???? Share this post Link to post Share on other sites
FusionCharts Support Report post Posted December 31, 2009 Hi Anila, It is better if you use a web server, local or live to get instant drill down. Please let us know with screen shot what you exactly see Share this post Link to post Share on other sites
anila Report post Posted January 4, 2010 Hi Sudipto, its worked after deploying in server. Thanks for your reply. Share this post Link to post Share on other sites
Guest Madhumita Report post Posted January 4, 2010 Hello Anila, Glad that it finally got solved. Happy FusionCharting. Share this post Link to post Share on other sites
anila Report post Posted January 6, 2010 Hi, one more doubt i have. here they are taking data to build graphs,maps from javascript insted of that i need to pass dynamic data. how to pass data to js? i am using java,jsp. Share this post Link to post Share on other sites
srividya_sharma Report post Posted January 6, 2010 Hi Anila, If you want a jsp variable to be present in js, just use, var myJSVar = '<%=myJSPVar%>'; Hope this is what you wanted to know. Srividya. Share this post Link to post Share on other sites
anila Report post Posted January 8, 2010 Hi, Thanks for your reply. wat i am asking was in fusioncharts i prepared data and passed to createChart() which in jsp. but what ever i want to develope map wth zooming sub window,here they are generating chart in js with static data. but i dnt wan to pass data tp js. wat can i do to achive this wth out passing data to js shall i prepare chrt in java code and paass it. Share this post Link to post Share on other sites
srividya_sharma Report post Posted April 1, 2010 Hi Anila, Was your problem resolved? Were you able to make some progress? Please tell us. Srividya Share this post Link to post Share on other sites