Browse Source

Note that `orientationOnByDefault` generally does not work with `autoLoad`.

This is a result of browsers' stricter protections around accessing device
sensors.
pull/1131/head
Matthew Petroff 2 years ago
parent
commit
73b6d16238
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      doc/json-config-parameters.md

+ 2
- 0
doc/json-config-parameters.md View File

@@ -76,6 +76,8 @@ If set to `true`, device orientation control will be used when the panorama is
loaded, if the device supports it. If false, device orientation control needs
to be activated by pressing a button. Defaults to `false`. Note that a secure
HTTPS connection is required for device orientation access in most browsers.
Additionally, this feature does not work in combination with `autoLoad: true`
in most browsers, since a user interaction is required to prompt for permission.


### `showZoomCtrl` (boolean)


Loading…
Cancel
Save