From a22e80460eae9034c2108e062f98e33e8c20d649 Mon Sep 17 00:00:00 2001 From: Alberto Acevedo Date: Tue, 17 Jan 2017 15:48:51 -0500 Subject: [PATCH] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index e646ee8e..690f6491 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,11 @@ cesiumViewer.extend(Cesium.viewerCesiumNavigationMixin, options); ```JavaScript viewer.cesiumNavigation.destroy(); ``` +- To lock the compass and navigation controls use the following. Use true to lock mode, +- false for unlocked mode. The default is false. +```JavaScript + viewer.cesiumNavigation.setNavigationLocked(true/false); +``` - if there are still open questions please checkout the examples