Polygon hotspot and the picture above it (or beside it).

  • Hi! I want to make polygonal hotspot caused the image that would be as close as possible attached to him. As a parent/child does not work in polygon hotspots, I made it so that the mouse coordinates passed to the layer with the image. If you move the cursor off the polygonal hotspot, the image should disappear. But there is a problem! When I put my cursor over the hotspot, the picture turns on and off. Is there a way to make it so that while the cursor is over the polygon, the image would be stable?

  • Hi,

    you could simply use a hotspot with renderer="css3d" - that would be above the polygonal hotspot.

    Currently the drawing order is:
    - webgl content - the pano and hotspots by default
    - svg content - polygonal hotspots (at the moment, in future versions they will be also webgl)
    - html content - hotspots with renderer=css3d and layers

    Best regards,
    Klaus

  • Thank you for your answer, Klaus! It is very useful! But for future solutions. Now I was helped to answer this question San7
    We did so. In order for the mouse to work, it is necessary to remove the cursor from the polygon hotspot.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!