Hi there,
I'm trying to figure out how I could add hotspots programatically. Same concept as 360cities where there are hotspots pointing to the nearest places with other 360 photos. this is dynamic I dont think somebody edits all the xml each time a person uploads a new panorama.
Anyway, anybody here know how I could do that? There are code to determine nearby locations based on latitude and longitude but I don't know how I will determine where the hotspot will be placed inside the scene. I can list all the nearby locations place them as hotspots but I don't know how I will determine where to place them within the scene. I know this will depend on the heading of the current scene and heading of the nearby place with 360 but right now I don't how to do that.
Any ideas?