PDA

View Full Version : Why doesnt external.limits work but external.borders does


masten
12-20-2008, 06:43 PM
Hi

Why does this work:

loadbar = "
loadPano(panoName=pans/bar&pan=40&zoom=0.8&tilt=0,0, visible);
external.borders.tilt_max=30;
"

loadbar = "
loadPano(panoName=pans/bar&pan=40&zoom=0.8&tilt=0,0, visible);
external.limits.tilt_max=70;
"

but this doesnt?

siesfor
12-21-2008, 03:06 PM
I haven't a clue, the technical reasons, why borders will accept the single tilt value, yet limits will not...

But, you can still use the limits plugin, it just needs you to specify a tilt_min value as well as the tilt_max value. ie...

external.limits.tilt_min=100; external.limits.tilt_max=70

masten
01-07-2009, 01:12 PM
Hi Siesfor

Just got this. Right. I'll try that.

Thanks