ExplorerLimits
Defined in: options.ts:142
Keeping the scene in view: how far the viewer may pan and zoom. Each limit is on by default, and
false turns it off.
Properties
Section titled “Properties”
optionalpan?:number|false
Defined in: options.ts:147
How much of the view the scene must keep covering as it is panned, as a share (0 to 1) of
the view’s width across and of its height down: 0.5 keeps at least half of each covered,
or all of the scene where it is smaller. Inside a scene, the scene drawn around it counts, so
the viewer can still pan across into a neighbour. Default 0.5.
zoomIn?
Section titled “zoomIn?”
optionalzoomIn?:number|false
Defined in: options.ts:155
How far in, as a multiple (at least 1) of the zoom at which the scene’s smallest item fills
the view. Default 2.
zoomOut?
Section titled “zoomOut?”
optionalzoomOut?:number|false
Defined in: options.ts:152
How far the top scene can be zoomed out, as a share (0 to 1) of the zoom that fits it: 0.5
lets it shrink to half that size. Only where zooming out cannot leave the scene, and never
above 0.65, so zooming out of a scene opened at a deep link still reaches its parent.
Default 0.5.