Main params
param=dyncodes – if code will have dynamic values
“text”: “]”,
“icon”: “]”,
“iconColor”: “]”,
“iconSize”: “]”,
“sceneId”: “[766 sanitize=1]”[if 767],
“URL”: “” only_url=”true”]”

Logika dinamickog koda
Potrebno je upisati u Polju “Hotspot Text” samo post ID objavljene nekretnine.
Sistem onda automatski generise Text, Icon, Icon Size, Url
Zakljucak: Za ova polja DATABASA treba generisati vrijednosti koje se ucitavalju preko GET parametra: Text, Icon, Icon Size, Url
Takodjer: Za svaki hotspot manualno se trebaju upisati podaci za:
Text (ovo je PostID Nekretnine, NIKAKO text)
HotSpot Location
Scene ID
Scene Target
Location on Target Scene
Type

Blank treba ostaviti:
Icon, Icon Size, Icon Color, URL

Scene Loading...

pannellum_360 height=”95vh” logo_id=”20976″ logo_link=”/about-us/” ]{“default”: {
“firstScene”: “startscene”,
“author”: “eBalkan Realestate”,
“autoLoad”: true },
“scenes”: {
“startscene”: {
“title”: “startscene”,
“type”: “equirectangular”,
“image_id”: 33936,
“hotSpots”: [ ]
} “],
“livingroom”: {
“title”: “livingroom”,
“type”: “equirectangular”,
“image_id”: 34007,
“hotSpots”: [

{
“pitch”: 1.70, “yaw”: 22.30,
“type”: “scene”,
“targetpitch”: -20.35, “targetyaw”: 37.31,
“text”: “TestInfo”,
“icon”: “”,
“iconColor”: “”,
“iconSize”: “”,
“sceneId”: “”
},
{
“pitch”: -1.46, “yaw”: -21.39,
“type”: “scene”,
“pitch”: -11.54, “yaw”: 15.86,
“text”: “Go To Living Room”,
“icon”: “”,
“iconColor”: “”,
“iconSize”: “”,
“sceneId”: “livingroom”
},
{ }

]
} “],}
} [/pannellum_360]