Hello Everyone,
I am accessing the mappview via web browser. but the visible area is aligned on upper left corner.
Is there a way to align the view in the middle or justify as per the screen resolution since these are vector graphics?
Thanks and regards
It’s always upper left corner, it’s the anker point and how much white you have around it depends on a couple things.
- Ratio between your visualization size (width x height) and the monitor you are using to display mappView;
- If you have zoom enable for your visualization, if enabled it would always scale to the size of used monitor regardless if the visualization is bigger or smaller than your display size. It also takes into account your tabs and bookmarks bar. So for proper alignment you would have to use fullscreen
The other option to size and center you visualization in a browser is to use the developer mode F12 and with some additional settings you can even emulate your actual screen size.
I posted a tutorial about this a while back under mappView Screen testing
Thanks Marcel,
Enabling zoom worked, however the view is still aligned on the left.
Since I am developing this as a product i.e., it will go to various users and each individual may have different monitor resolution.
So I was wondering if it can automatically stretches along the screen or just align itself as “Top Center” depending on the screen resolution.
Thanks and regards
Look at this topic and the solution I posted.
mappView for different aspect ratios
While you can cover quite a few panels sizes with the zoom mode they all have to be of the same aspect ratio. So a 16:9 aspect layout will work for Full HD 1920x1080 and HD 1280x720 because the are the same aspect ratio.
If you open a 16:9 ratio visualization on a 16:10 ratio panel you will end up with a white bar at the bottom or depending on settings with a scroll bar left to right because the content is stretched vertically to fill the void.