I've been working with the polygon markers in your viewer plugin and noticed that the tooltip functionality does not seem to work correctly when applied to polygons. While I can successfully create and display polygons with associated content, tooltips do not appear on hover as expected.
It worked before. But I made changes suggested in this issue #1344 then after it stopped working.
Here's the exact code snippet that worked before:
{
id: 'product-1',
polygon: [
[0.596416174082061, -0.09412586265209733],
[0.6643120055120949, -0.16225545829868682],
[0.5974112353942319, -0.1626270065733766],
[0.6542901056941313, -0.09226165407034559]
],
tooltip: 'Samsung Galaxy TAB S6',
style: {
fill: 'rgba(255, 0, 0, 0.5)',
stroke: 'rgba(255, 0, 0, 0.8)',
strokeWidth: '2px'
},
content: '<p>The Samsung Galaxy Tab S6, released in August 2019, features a 10.5-inch Super AMOLED display with a resolution of 2560 x 1600 pixels. It is powered by the Qualcomm Snapdragon 855 processor, with options for 6 GB or 8 GB of RAM and 128 GB or 256 GB of storage, expandable via microSD. The tablet includes a dual rear camera setup (13 MP + 5 MP), an 8 MP front camera, and a 7040 mAh battery with fast charging. Key features include the S Pen, DeX mode for a desktop-like experience, quad speakers tuned by AKG, and an in-display fingerprint scanner. It runs on Android with Samsung\'s One UI.</p> <a href="https://amzn.in/d/1vqujtk"> <img src="https://m.media-amazon.com/images/I/31qVIrbLqJL._SY300_SX300_QL70_FMwebp_.jpg"/></a>',
},
Describe the bug
I've been working with the polygon markers in your viewer plugin and noticed that the tooltip functionality does not seem to work correctly when applied to polygons. While I can successfully create and display polygons with associated content, tooltips do not appear on hover as expected.
It worked before. But I made changes suggested in this issue #1344 then after it stopped working.
Here's the exact code snippet that worked before:
Online demo URL
No response
Photo Sphere Viewer version
5.8.1
Plugins loaded
MarkersPlugin, VirtualTourPlugin
OS & browser
Windows 11, Firefox
Additional context
No response