Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Super Contributor
Posts: 301
Registered: ‎02-09-2016

Public maps render issue when switching from full-screen to smaller size

[ Edited ]

Hi team,

 

I have a public maps, we develop a print preview tool that utilizes browser printing service to do the printing. The function involves using Javascript and css to switch the map from full-screen to small size to show the preview print, then switch back to full-screen. During the development, I notice that after switching a couple times, I observe that the map occasionally doesn't render correctly after switching back from small size to full-screen, only uses half of the screen.

 

Print.png

 

The only way to resolve the issue is to refresh the site and it is not desirable.

 

For more information, please have a look at my development site as follows (only works on Chrome at the moment)

http://13.70.136.110/GMSC/Public/MyPublicMaps(v02).html

 

 

Appreciate all suggestions and ideas

 

Kind regards,