You are not logged in.

1

Thursday, November 23rd 2017, 11:25am

Resize Map container

Hi,

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


2

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 https://pavel.ursiny.sk/pano/cz/Praded_2…rs.i18n_lang=en

Pavel
pur has attached the following file:
  • vtourskin.xml (59.37 kB - 22 times downloaded - latest: Sep 22nd 2019, 8:48pm)