Infrastructure Map Server General Discussion

Infrastructure Map Server General Discussion

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

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

395 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 (390 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
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!