From 73b6d162383bdba829bd00fee6283b425382e5aa Mon Sep 17 00:00:00 2001 From: Matthew Petroff Date: Mon, 7 Nov 2022 20:31:13 -0500 Subject: [PATCH] Note that `orientationOnByDefault` generally does not work with `autoLoad`. This is a result of browsers' stricter protections around accessing device sensors. --- doc/json-config-parameters.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/json-config-parameters.md b/doc/json-config-parameters.md index ae8b24b..3954a25 100644 --- a/doc/json-config-parameters.md +++ b/doc/json-config-parameters.md @@ -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)