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”: “scene3”,
“author”: “eBalkan Realestate”,
“autoLoad”: true },
“scenes”: {
“scene3”: {
“title”: “scene3”,
“type”: “equirectangular”,
“image_id”: 22400,
“hotSpots”: [

{
“pitch”: 10.45, “yaw”: 37.98,
“type”: “scene”,

“text”: “”,
“icon”: “bi bi-patch-check-fill”,
“iconColor”: “#d1416d”,
“iconSize”: “25px”,
“sceneId”: “scene35”
},
{ }

]
} “],
“scene35”: {
“title”: “scene35”,
“type”: “equirectangular”,
“image_id”: 22401,
“hotSpots”: [

{
“pitch”: -13.68, “yaw”: 1.23,
“type”: “scene”,
“targetPitch”: -3.27, “targetYaw”: 128.31,
“text”: “”,
“icon”: “bi bi-patch-check-fill”,
“iconColor”: “#d1416d”,
“iconSize”: “25px”,
“sceneId”: “scene4”
},
{ }

]
} “],
“scene4”: {
“title”: “scene4”,
“type”: “equirectangular”,
“image_id”: 22402,
“hotSpots”: [

{
“pitch”: 19.05, “yaw”: 111.06,
“type”: “info”,

“text”: “”,
“icon”: “bi bi-patch-check-fill”,
“iconColor”: “#d1416d”,
“iconSize”: “25px”,
“sceneId”: “scene3”
},
{ }

]
} “],}
} [/pannellum_360]