Z verze
změnil(a) David Brazda
k 02.04.2021 14:55
Na verzi < 81.1 >
změnil(a) David Brazda
k 08.04.2021 14:15
< >
Popis verze: Nahrát novou přílohu 1617884108898-393.png

Přehled

Rozpis

Na stránce změněno:
Obsah
... ... @@ -4,11 +4,13 @@
4 4  
5 5  ~{~{xcvid url="https:~/~/www.xcontest.org/cesko/prelety/detail:davidbrazda/29.1.2021/16:27"/}}
6 6  
7 -{{xcvid url="https://www.xcontest.org/cesko/prelety/detail:davidbrazda/29.1.2021/16:27" time="40" shadow="0" zoom="1"/}}
7 +{{xcvid url="https://www.xcontest.org/cesko/prelety/detail:davidbrazda/29.1.2021/16:27" time="40" shadow="0" trackpilot="1"/}}
8 8  
9 9  
10 -**parametr Zoom (více odzoompat)**
10 +**parametr Zoom (více odzoomovat)**
11 11  
12 12  1 - odzoomováno
13 13  
14 14  0 - standard pohled
15 +
16 +
1617884108898-393.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.DavidBrazda
Size
... ... @@ -1,0 +1,1 @@
1 +1.0 KB
Content
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -2,6 +2,7 @@
2 2  #set($url = $xcontext.macro.params.get('url'))
3 3  #set($flight = $xcontext.macro.params.get('flight'))
4 4  #set($time = $xcontext.macro.params.get('time'))
5 +#set($trackpilot = $xcontext.macro.params.get('trackpilot'))
5 5  #set($shadow = $xcontext.macro.params.get('shadow'))
6 6  #if ($shadow == 0)
7 7   #set($shadow = "")
... ... @@ -22,7 +22,7 @@
22 22   ##$url.substring($regexResult.get(1).start,$regexResult.get(1).end)
23 23   Neplatný odkaz na tracklog. Např. https://www.xcontest.org/cesko/prelety/detail:davidbrazda/29.1.2021/16:27
24 24  #else
25 - #set ($suffix = "?ident=" + $url.substring($regexResult.get(1).start,$regexResult.get(1).end) + "&shadow=" + $shadow + "&viewFrom=" + $zoom + "#" + $time)
26 + #set ($suffix = "?ident=" + $url.substring($regexResult.get(1).start,$regexResult.get(1).end) + "&shadow=" + $shadow + "&viewFrom=" + $zoom + "&trackPilot=" + $trackpilot + "#" + $time)
26 26   #set ($src = "https://xcvid.com/embed.php" + $suffix)
27 27   <div class="xdocLastModification">Interaktivní 3D pohled.</div>
28 28   <iframe src="$src" id="xcvid" class="responsive-embed" allowfullscreen><a href="$src$suffix">XCVID let</a></iframe>
XWiki.WikiMacroParameterClass[1]
Parameter default value
... ... @@ -1,1 +1,1 @@
1 -0
1 +1
XWiki.WikiMacroParameterClass[4]
Parameter default value
... ... @@ -1,0 +1,1 @@
1 +0
Parameter description
... ... @@ -1,0 +1,3 @@
1 +Loknout kameru na pilota [0;1] Default 0.
2 +
3 +Při locknuté kameře doubliclick odlockne.
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +Ne
Parameter name
... ... @@ -1,0 +1,1 @@
1 +trackpilot