Sign in to follow this  
anila

Drill down in map.

Recommended Posts

 

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

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

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

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

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

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

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 by Guest

Share this post


Link to post
Share on other sites

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

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this