That error is due to imprecise adjustments between the different spaces in the edit model tab.
Try making settings more precise and reviewing it in 3D mode
That error is due to imprecise adjustments between the different spaces in the edit model tab.
Try making settings more precise and reviewing it in 3D mode
Cell phone: android 13.0 - Chrome 132.0 -WebGL2 it fails
No video, 1425 photos ;)
Panoramas? Are there several panoramas?
I have also tried this but I can't get it to work:
scene name="scene_40ena" title="Cuarentena" template="[div style='combobox_item_style;']{{translate('ab1_content')}}[/div]" onstart="" thumburl="panos/40ena.tiles/thumb.jpg" lat="" lng="" alt="" heading="" info="Cuarentena[br]de esquejes" >
I am trying to translate the texts attached to the thumbnail in the combobox, which are taken from the title and info that are in the scene header
I can't get the title and info texts to be translated but it does show them correctly in the first language, which is Spanish.
All other texts other than the combobox are translated correctly.
What is missing in this code?
<scene name="scene_40ena" title="link:translate('ab1_content')" onstart="" thumburl="panos/40ena.tiles/thumb.jpg" lat="" lng="" alt="" heading="" info="link:translate('t1i_content')" >
<!-- different languages texts -->
<languages name="es" displayname="ES"
title_enc="Centro de entrenamiento" subtitle="Espacio para los procesos de selección y capacitación continua"
latsup="Maravillosa actualización" latinf="Difícil de entender [br]para quienes no somos codificadores[br] es un poco arduo[br] pero aprenderemos"
titulo="Dojo: Simulación de procesos "
infoena="Cuarentena[br]de esquejes"
ab1_content="Cuarentena"
t1i_content="Cuarentena[br]de esquejes"/>
<languages name="en" displayname="EN"
title_enc="Training center" subtitle="Space for selection processes and continuous training"
latsup="Wonderful update" latinf="Difficult to understand [br]for those of us who are not coders[br] it's a little arduous[br] but we will learn"
titulo="Dojo: Process simulation "
ab1_content="Quarantine"
t1i_content="Quarantine[br]of cuttings"/>
Hi Klaus
The popup works like the example krpano has.
Using the popup action that is hosted in a file called acciones.xml, and the text is in another file called data.xml, there they are:
<data name="centrenamiento_es" >
<data name="centrenamiento_en" >
The link, when opened, shows two buttons at the bottom right,
one opens a layer scrollbar that, with that I have no problem, I get the translation, the other opens the popup, which I have not been able to get it to change the language
Thanks Tuur, your example is very clear and useful. In your case you are launching from the layer textbox which contains the templates: template="{{translate(t1)}} {{id:toupper(id)}} ,[br][br] {{translate(t2)} } [br][br] {{tt3}}[br]Tuur"
In the case of the popup, which is opened through hotspot or a layer,
When you click, the popup opens showing the text found in a cdata. I really can't find where to put:
template="{{translate(popup_tc)}}"
In languages, I have it like this:
<languages name="es" popup_tc="get:data[centrenamiento_es].content"
<languages name="en" popup_tc="get:data[centering_en].content"
Hi Klaus
Using the translation in a scrollbar layer, everything works perfectly.
" <layer name="infoSite_text" enabled="true" type="text" bg="false" bgalpha="1.0" bgcolor="0xffffff" textalign="left" padding="50 70 20 80" bgroundedge="0" css="font-family: univers condensed; font-weight:light; font-size:32px; color: #797474;" txtshadow="" template="[div style='font-family: univers condensed; font-weight:bold; color: #797474;font-size:28px;line-height:32px;text-decoration: underline; ']{{translate(nombre)}}[/div][div style='font-family: univers condensed; font-weight: regular; color: #797474;font-size:19px;line-height:20px;text-decoration: underline; '][br]{{translate(aboutquestion)}}[/div]
[div style='font-family: univers condensed; font-weight: light; color: #797474;font-size:18px;line-height:16px;'][br][br]{{translate(corpus)}}[/div]"
/>"
But I try to translate the texts of a popup, texts that are supplied through:
<data name="data_html_example_english"><![CDATA[......, I have not been able to implement the translation. Could you provide me with a clue on how to proceed with this element?
jeromebg,
No matter how much I have tried, I can't get a transparency in the background of the title:
title_backgroundalpha="0.5"
title_background_bg_alpha="0.5".
I want to achieve it as it is achieved in the content:
callout_bg_color="0x00688f" callout_bg_alpha="0.5"
Is this possible?
<callout
key="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
size=""
color="0xffffff"
rotate="45"
distancepopup="3"
min_fov="180"
max_fov="0"
line_lenght="100"
line_width="1"
shape="round"
circle_active_width="5"
animation="center_screen"
text_width="300"
callout_bg_border="0,0,0,2"
text_x="10"
css_title.desktop="color:#fff;font-size:14px;font-family: julius sans one;text-shadow: 2px 2px 5px #000000;"
css_title.mobile="color:#fff;font-size:12px;font-family: julius sans one;"
css_text.desktop="color:#fff;font-weight:light;font-size:14px;font-family: julius sans one;text-shadow: 2px 2px 5px #000000;"
css_text.mobile="color:#fff;font-size:14px;font-family: julius sans one;text-shadow: 2px 2px 5px #000000;"
title_background="0x398177"
text_background=""
title_padding="10"
/>
This is the callout code:
<hotspot name="hs1w" devices="desktop" ath="21.0218776" atv="25.7220750" style="callout"
text_bg="true" callout_bg_color="0x00688f" callout_bg_alpha="0.5" rotate="1" distancepopup="3"
line_lenght="230" text_width="auto" shape="round" callout_bg_border="0,1" text_x="1"
text_padding="8 18 6 18" size="6" visible="true" alpha="1"
title=""
content="Puesto de Habilidades transversales"
/>
I have used it like this:
<hotspot name="hs1w" devices="desktop" ath="21.0218776" atv="25.7220750" style="callout"
text_bg="true" callout_bg_color="0x00688f" callout_bg_alpha="0.5" rotate="1" distancepopup="3"
line_lenght="230" text_width="auto" shape="round" callout_bg_border="0,1" text_x="1"
text_padding="8 18 6 18" size="6" visible="true" alpha="1"
title=""
content="Puesto de Habilidades transversales"
template="[div style='callout']{{translate(content)}}[/div]"
/>
And also like this:
<hotspot name="hs1w" devices="desktop" ath="21.0218776" atv="25.7220750" style="callout"
text_bg="true" callout_bg_color="0x00688f" callout_bg_alpha="0.5" rotate="1" distancepopup="3"
line_lenght="230" text_width="auto" shape="round" callout_bg_border="0,1" text_x="1"
text_padding="8 18 6 18" size="6" visible="true" alpha="1"
title=""
content="Puesto de Habilidades transversales"
template="[div style='callout']{{translate('content')}}[/div]"
/>
I also tried this
<hotspot ...
content="link:translate('content')"
template="...{{content}}..."
/>