MAPG-38 reset zoom in the documented way

This commit is contained in:
Bence Pőcze 2020-05-21 12:17:18 +02:00
parent 31e274c8cb
commit 3afadb506b

View File

@ -43,7 +43,8 @@
} }
Core.panorama.setVisible(true); Core.panorama.setVisible(true);
Core.panorama.setPov({ heading: 0, pitch: 0, zoom: 0 }); Core.panorama.setPov({ heading: 0, pitch: 0 });
Core.panorama.setZoom(0);
Core.panorama.setPano(data.location.pano); Core.panorama.setPano(data.location.pano);
}, },