Skip to content

Commit

Permalink
doc(utils_browser):fix typo in itownsUtils comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuLivebardon authored and LorenzoMarnat committed May 22, 2024
1 parent 5c961ba commit 2042429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/utils_browser/src/itownsUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function autoDurationTravel(controls, targetPos) {
* - `horizontalDistance` : Desired distance of the camera from the target
* position.
* @returns {Promise} Promise of the camera focusing on target
* @todo this function is used by widget should be contribute to itowns or be remove
* @todo this function is used by widget should be contributed or removed
*/
export function focusCameraOn(view, controls, targetPos, options = {}) {
return new Promise((resolve, reject) => {
Expand Down Expand Up @@ -92,7 +92,7 @@ export function focusCameraOn(view, controls, targetPos, options = {}) {
* @param {itowns.PlanarView} itownsView - view
* @param {itowns.C3DTilesLayer} layer - layer to focus
* @returns {Promise | null} Promise of the camera focusing on C3DTiles
* @todo this function is used by widget should be contribue or remosved
* @todo this function is used by widget should be contributed or removed
*/
export function focusC3DTilesLayer(itownsView, layer) {
if (!layer.isC3DTilesLayer) return null;
Expand Down

0 comments on commit 2042429

Please sign in to comment.