Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adjust Task Window in Fusion Layout?

2 REPLIES 2
Reply
Message 1 of 3
emluv
730 Views, 2 Replies

Adjust Task Window in Fusion Layout?

Hello,

 

I am interested in enlarging the size of the Task window in a Fusion layout. I realize it is adjustable, however, I would like it to be larger when the user first opens the map. Is this possibe and if so, where would I make the changes?

 

Thanks!

 

Emilly

emluv
2 REPLIES 2
Message 2 of 3
gluckett
in reply to: emluv

HI Emily,

the task pane is defined using the JX library. (http://jxlib.org/reference/api/)

 

If you are using Aqua in Fusion it is a Jx.Dialog but if you are using the other templates, it uses the jx.panel.

 

The api is a little tricky, but if you want to click a button and resize the panel, you could paste something like this in an INVOKESCRIPT in Studio.

 

 

 top.top.iFrameMap.dTasks.options.width = 300;
    top.top.iFrameMap.dTasks.options.height = 300;
    top.top.iFrameMap.dTasks.options.horizontal = 'right -20';
    top.top.iFrameMap.dTasks.options.vertical = '50 top';
    top.top.iFrameMap.dTasks.firstshow = true;
The dTasks variable in the Aqua template is what you need to modify (you could do it permanently by editing the index.html page in TEMPLATES folder too).
regards
gordon

 

Message 3 of 3
Daniel.Du
in reply to: emluv

And here is document about customizing Fusion viewer

 

Fusion Learning Materials for MapGuide



Daniel Du
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report