Scale of layers according to diplay size

  • Hi guys! Explain me please how to make the scale of marked layers correct. To see them on mobile display like on pc display. layers in mobile to big and overlap each other. thanks

  • Different sizes can be set for different devices. https://krpano.com/docu/xml/#devicechecksforattributes

    yeah! it works. thank you! but now new problem was appered. mapspots and "+" "-" lost their position in mobile. i have no idea how to correct it.

    Code
    <layer name="maps" keep="true" state="closed" type="container" bgcolor="0x000000" bgalpha="0" align="leftbottom" scalechildren="true"  width="825" height="625" x="0" y="0"> 
    
    
    		<layer name="map_1" url="images/map_ext_e.png" keep="true" align="leftbottom" x="0" y="0" scale.normal="1" scale.mobile="0.5" visible="false" handcursor="false">  <layer name="mapspot_1_6" style="mapspot|tooltip" x="198" y="60" zorder="8"  onclick="closeMap(map_1); wait(0.5); loadscene(scene__DSC4617-HDR_Panorama1, null, MERGE, BLEND(1));"/></layer></layer> <plugin name="plus"  keep="true" url="images/plus.png" align="lefttop" scale.mobile="0.5" x="20" y="65" alpha="0.6" onover="tween(alpha, 0.9)" onout="tween(alpha, 0.6)" ondown="set(fov_moveforce,-1);"  onup="set(fov_moveforce,0);" />  <plugin name="minus"  keep="true" url="images/minus.png" align="lefttop" scale.mobile="0.5" x="20" y="105" alpha="0.6" onover="tween(alpha, 0.9)" onout="tween(alpha, 0.6)" ondown="set(fov_moveforce,+1);" onup="set(fov_moveforce,0);" />

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!