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
pannellum_360 height=”95vh” logo_id=”20976″ logo_link=”/about-us/” ]{“default”: {
“firstScene”: “scene1”,
“author”: “eBalkan Realestate”,
“autoLoad”: true },
“scenes”: {
“scene1”: {
“title”: “scene1”,
“type”: “equirectangular”,
“image_id”: 22406,
“hotSpots”: [
{
“pitch”: -0.17, “yaw”: 101.36,
“type”: “info”,
“text”: “Designed By eBM & RE”,
“icon”: “”,
“iconColor”: “”,
“iconSize”: “”,
“sceneId”: “”
},
{
“pitch”: 0.56, “yaw”: -123.53,
“type”: “info”,
“targetPitch”: -3.69, “targetYaw”: -124.65,
“text”: “Example2”,
“icon”: “”,
“iconColor”: “”,
“iconSize”: “”,
“sceneId”: “scene1”
},
{ }
]
} “],}
} [/pannellum_360]