From eeff9c2d8033b423e03421795a5ffb50c03a2fb2 Mon Sep 17 00:00:00 2001 From: dhruvsakariya <86561468+dhruvsakariya@users.noreply.github.com> Date: Fri, 1 Jul 2022 22:30:02 +0530 Subject: [PATCH] content error corrected getYaw --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4cd8109..01dbeb6 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ pannellum-react has most of the official pannellum properties (not all of them). | hotspotDebug | Boolean | false | For debug pupose (finding correct point for hotspot) | | doubleClickZoom | Boolean | true | Zoom if you double click | -Additionally, by Getting refrence of the component, you can get the pannellum **Viewer** calling `getViewer()` which gives all the available functions of the viewer such as `getPitch`, `setPitch` , `getyaw` and etc. find [here](https://pannellum.org/documentation/api/#viewer) +Additionally, by Getting refrence of the component, you can get the pannellum **Viewer** calling `getViewer()` which gives all the available functions of the viewer such as `getPitch`, `setPitch` , `getYaw` and etc. find [here](https://pannellum.org/documentation/api/#viewer) Moreover, you can force render the component using `forceRender()` in case if you change a prop and didn't change constantly.(example would be hotspot: if you want to update hotspot dynamically, better to call forceRender after updating the hotspots)