googlearchive / vrview

Library for embedding immersive media into traditional websites.
http://developers.google.com/cardboard/vrview
Apache License 2.0
1.71k stars 1.09k forks source link

having two hotspots on the same page #314

Open dd84 opened 6 years ago

dd84 commented 6 years ago

Does anybody know how to add two hotspots on the same page?

parimaay commented 6 years ago

Using vrView.addHotspot(...) you can add as many hotspot as you want. vrView.addHotspot(hotspotKey, { pitch: hotspot.pitch, yaw: hotspot.yaw, radius: hotspot.radius, distance: hotspot.distance, });