Infrastructure Map Server General Discussion

Infrastructure Map Server General Discussion

Reply
Valued Contributor
swimming123
Posts: 87
Registered: ‎04-12-2012
Message 1 of 2 (397 Views)

How to make Fusion Map "Height" always fit the screen height?

397 Views, 1 Replies
10-23-2012 01:49 PM

I use Fusion Viewer to do customization. As the demo demo, I use iframe to put my map in the default page. I noticed I have to put "height" value for the iframe attribute, otherwise it only show a small part even I assign 100% to height. How I can make it always fit the screen height?

 

When I paly with OpenLayers, I have the same issue: have to add the specific height value for the DOM element which hold the map, for example 500px for laptop.  Thank you.

Valued Mentor
jackie.ng
Posts: 284
Registered: ‎10-06-2008
Message 2 of 2 (392 Views)

Re: How to make Fusion Map "Height" always fit the screen height?

10-23-2012 07:26 PM in reply to: swimming123

This is not a Fusion problem, it's a browser problem.

 

iframes are notoriously difficult to have percentage-based heights without employing the use of javascript.

 

- Jackie

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.