Ok, beforehand I do want to mention, that I am still very new to krpano and might do some things in a "unexpected / inexperienced" way.
Additionally, I do want to state that I do prefer to split things up into multiple files, so here there isn't only a tour.xml. In the real project (this is a stripped down version) more data does exist (especially in the hotspots_data.xml).
Lastly, there might also be some unnecessary code, but for my original question please especially take a look at the styles.xml and how to avoid the code redundancy in
|
Quellcode
|
1
|
<data name="css_hotspot_overlay_marker">
|
|
Quellcode
|
1
|
<data name="css_hotspot_overlay_marker_neighbors">
|
So finally here is a link to a simplified live example:
http://sandbox.duesselpix.com/vtour/tour.html