Sie sind nicht angemeldet.

1

Donnerstag, 11. Mai 2017, 16:02

How is possible to disable Zoom +/- buttons?

Hi to all,
For avoid that users change the FOV of the scenes, I need to know how is possible to disable the Zoom +/- function.
I've tried to use the maxpixelzoom="0.0" functions and it works, but the problem is that I need also the "keepview" function, so my code becomes:

<keepview fovtype="MFOV" fov="120" maxpixelzoom="0.0" fovmin="120" fovmax="120" limitview="auto" />

and in that case I have again the zoom function enabled.

the better choice for me is then to remove the lines of code on the skin, but I am not able to find it!

thanks.

Luca

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

2

Donnerstag, 11. Mai 2017, 16:10

Hello

Try:

Quellcode

1
<control fovspeed="0" />


Best regards
Piotr

p.s. This is one of many methods...
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

3

Donnerstag, 11. Mai 2017, 17:43

Yeeeees! It works perfectly:


<!-- startup control -->

<control fovspeed="0">

</control>


Many thanks!

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

4

Donnerstag, 11. Mai 2017, 21:28

Yeeeees! It works perfectly:
*thumbsup*


Ragards
Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*