Update docs/maps/api-camera.md

Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
Bénédicte Q 2022-01-03 14:19:55 +01:00 committed by GitHub
parent ac27ab7e3e
commit 7c34e0a435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
### Listen to camera updates
```
WA.camera.onCameraUpdate: Subscription
WA.camera.onCameraUpdate(): Subscription
```
Listens to updates of the camera viewport. It will trigger for every update of the camera's properties (position or scale for instance). An event will be sent.