You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Thursday, November 23rd 2017, 11:25am

Resize Map container


I've some difficulties to resize Map Panel. I would like to see the map with fixed size (eg 400px x 400px) not 100% x 100%.

I've try to set some different height / width values in vtourskin.xml node <layer name="skin_layer" ...
The biggest difficulty is to understand how to change the height.
For the width I solved with <layer name="skin_scroll_window" type="container" width="400" ...

Thank you


Tuesday, July 3rd 2018, 7:06pm

Resize Map container width [SOLVED]

Hi gpsblues, *,

If you or anybody else is interested in interactively resizing the map container, please use my slightly updated vtourskin.xml attached.
It is possible to change the width of the map container only when dragging little icons in the righttop and leftbottom corners of the map.
Just replace the krpano vtourskin.xml in the ../skin/ folder.

Since the height of the map is calculated at more events my update does not touch it. The map can use the whole window (area) e.g. it is not limited with the narrow skins as ultra light skin, glass skin or flat default skin. It's working with the krpano 1.19.pr16 version.
To test it replace the ..\krpano-1.19-pr16-win\viewer\examples\demotour-corfu\skin\vtourskin.xml and run the demotour-corfu example in the krpano examples.

To see the panos with the resizeable maps enjoy here…rs.i18n_lang=en

pur has attached the following file:
  • vtourskin.xml (59.37 kB - 43 times downloaded - latest: Sep 8th 2020, 9:48am)