You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, January 28th 2014, 9:48pm

hotspot.point.count returns twice as many points

Does hotspot.point.count return number of points in the hotspot, or twice the number of points, since it counts ath and atv as separate "points"?

2

Tuesday, January 28th 2014, 10:20pm

I was loading the same xml twice !!!

3

Wednesday, January 29th 2014, 11:14am

Hi,

when loading twice and when the hotspot was defined with keep=true, then the <point> elements will be added again.

This is the way the xml systems works - when an xml 'array item' element like the <point> elements inside the <hotspot> doesn't have a name, an automatic name will be created and a new element added.

This can be avoided by either:
- don't load twice
- don't keep that hotspot
- add unique names to the <point> elements

Best regards,
Klaus