send camera update event from CameraManager
This commit is contained in:
parent
4871b406de
commit
f8353bd7b5
3 changed files with 62 additions and 23 deletions
|
@ -4,7 +4,8 @@
|
|||
<script src="<?php echo $_SERVER["FRONT_URL"] ?>/iframe_api.js"></script>
|
||||
<script>
|
||||
window.addEventListener('load', () => {
|
||||
console.log('On load');
|
||||
//@ts-ignore
|
||||
WA.camera.onCameraUpdate((worldView) => console.log(worldView));
|
||||
WA.onInit().then(() => {
|
||||
console.log('After WA init');
|
||||
const setPositionButton = document.getElementById('setPositionButton');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue