You are not logged in.

1

Wednesday, May 11th 2016, 6:55am

Any benefit of dynamically removing hotspots vs visible=false

Hello I was wondering if there's any benefits of dynamically removing unneeded hotspots vs setting visible=false?

Timescale

Trainee

Posts: 120

Location: Netherlands

Occupation: Archaeologist, Timescale R&D

  • Send private message

2

Wednesday, May 11th 2016, 1:01pm

When hotspots were rendered not via webGL, I was under the impression that, on iPads for instance, the more hotspots that were loaded, the more layer lag there was. Removing a hotspot instead of disabling it would have made more sense perhaps.

Now I'm generating hundreds of hotspots within 1 pano, all alpha PNG's and distortion and even old iPads don't break a sweat. So I don't think that under normal circumstances it actually really makes a great difference.

From a coding perspective, I like to actually remove elements instead of hiding them. It seems more elegant.