JeremyHeleine / Photo-Sphere-Viewer

A JavaScript library to display Photo Sphere panoramas.
851 stars 943 forks source link

default_position not working #92

Open ibrahimch opened 5 years ago

ibrahimch commented 5 years ago

default_position is not working, I've tried var PSV = new PhotoSphereViewer({ container: 'ts-viewer', panorama: 'Dubai.jpg', navbar: 'gyroscope zoom fullscreen', mousewheel: false, default_position: {long: '90deg', lat: '90deg'}, // {long: 90, lat: 90} gyroscope: true, onready: function() { PSV.toggleDeviceOrientation(); PSV.startGyroscopeControl(); } //touchmove_two_fingers: true, }); PSV.on({ ready: function() { PSV.startGyroscopeControl(); }}); But it starts from the same position as default

oliviervinot commented 5 years ago

Hello, i have the same issue on android… The viewer always start at the left of the panorama image. And default_position or default_long are not working… Please, do you've an idea? thx.

Devang-stapin commented 5 years ago

its work for me thanks ibrahimch give description