Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
73b6d16238
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. +2
    -0
      doc/json-config-parameters.md

+ 2
- 0
doc/json-config-parameters.md Dosyayı Görüntüle

@@ -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)


Yükleniyor…
İptal
Kaydet