Open milleker opened 7 years ago
Image hot spots aren't officially supported. See #122 and #123.
Thanks Matthew. Hopefully it'll be something you may wish to implement and support in the future.
I've been able to hard code the width and margins for the popup which has worked in the meantime.
When inserting an image in a hot spot, I'm noticing inconsistency with how the hot spot is displayed. The issue seems to happen to new devices or old devices when I clear my cache. The issue happens when the hot spot window will place itself centered over the hot spot icon. On Windows machines, the display issue is just a mere inconvenience, but on touch devices this is a big problem because if there's a link, it automatically sends the user to the link instead of showing the window and letting them click again for the link.
Pannellum 2.3.0 - clean installation, happens on Chrome (Latest) for Windows and Firefox (Latest) on Android. Hotspot section of JSON is below. Happens on Multires or Equirectangular. No console messages.
Screenshot of the problem here: http://www.johnmilleker.com/uploads/hsissue.jpg Test panorama located here: http://www.johnmilleker.com/pannellum/pannellum.htm?config=boam/config.json