Skip to content

Commit 8801fdb

Browse files
authored
Fixed a typo on ol3d.setEnabled function
1 parent 6496169 commit 8801fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const ol3d = new OLCesium({map: ol2dMap});
4949

5050
```js
5151
ol3d.setEnabled(true); // switch to 3D - show the globe
52-
ol3d.setEnabled(true); // switch to 2D - show the map
52+
ol3d.setEnabled(false); // switch to 2D - show the map
5353
```
5454

5555
Build with your prefered bundler.

0 commit comments

Comments
 (0)