Skip to content

Commit

Permalink
Fix docs typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Apr 24, 2024
1 parent eba3121 commit a53daa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/APIs/JavaScript/Main/Main.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The `src/essence/mmgisAPI/mmgisAPI.js` file exposes functions that can be called
- [asLayerUUID(uuid)](#asLayerUUIDuuid)
- [Time Control](#time-control)
- [toggleTimeUI(visibility)](#toggletimeuivisibility)
- [setTime(startTime, endTime, isRelative, timeOffset, currentTime)](#settimestarttime-endtime-isrelative-timeoffset-currenttime)
- [setTime(startTime, endTime, isRelative, timeOffset, currentTime, customTimes)](#settimestarttime-endtime-isrelative-timeoffset-currenttime-customtimes)
- [setLayerTime(layer, startTime, endTime)](#setlayertimelayer-starttime-endtime)
- [getTime()](#gettime)
- [getStartTime()](#getstarttime)
Expand Down Expand Up @@ -421,7 +421,7 @@ The following is an example of how to call the `toggleTimeUI` function:
window.mmgisAPI.toggleTimeUI(false);
```

### setTime(startTime, endTime, isRelative, timeOffset, currentTime, currentTimes)
### setTime(startTime, endTime, isRelative, timeOffset, currentTime, customTimes)

This function sets the global time properties for all of MMGIS. All time enabled layers that are configured to use the `Global` time type will be updated by this function.

Expand Down

0 comments on commit a53daa6

Please sign in to comment.