
Dieser Beitrag wurde bereits 5 mal editiert, zuletzt von »Timescale« (8. Mai 2016, 01:24) aus folgendem Grund: Found out it works everywhere but in CSS3d mode in FF... not worth checking out it in my opinion
It means that in browsers that support webGL, image hotspots will always be rendered behind the polygon. You can't use zorder to make a hotspot appear in front of a polygon. if the browser only does CSS3D (which you ideally do not want) It will be the other way around.Does this mean that it's not possible to put a spot above a polygon using this version of krpano ?
Assuming that everybody is webGL compliant and that hotspots will always be rendered behind hotspots this could be a problem, but not nessesarily. You can still click a hotspot that is behind a polygon. If the polygon is set to enable=false, the mouse event will simply go to the next object in line. The only thing you have to make sure of is that the polygons are transparent enough to see the hotspotsHere is a temporary link to the tour i'm working on : http://www.aircamera.fr/visite_virtuelle/VTT/360.html
As you can see I placed all the spotpoints a little bit off the polygons. Otherwise, we can't click on them.
But I have some panoramas where there will be polygons everywhere. So I can't place my pointspots on the side. I have to find another solution...
http://www.aircamera.fr/visite_virtuelle….8099&f=48.4325
I hope this will!Is someone able to help me ? Thank you very much !
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<hotspot name="spotpolygon9482"
tag="polygon"
style="Polygonpisteverte"
descriptionid=""
handcursor="false"
enable="false">
<point ath="-122.121464" atv="38.813559" />
.
.
.
<point ath="-133.538260" atv="23.246637" />
<point ath="-114.034511" atv="43.465784" />
</hotspot>
<hotspot name="spotpolygon9482" devices="flash" zorder="1"/>
<hotspot name="spotpolygon9482" devices="html5" zorder="3" zorder2="1"/>
|
Ah, yes, sorry for that! Me and my big sausage fingers... Glad to hear it's working!I found the mistake.
The code is enabled="false" not enable="false"
Thank you very much for this good idea ! It works now.