From 204242955bc7b6d4d4f6e48cc073b613fa1e1579 Mon Sep 17 00:00:00 2001 From: Mathieu Livebardon Date: Wed, 22 May 2024 14:36:42 +0200 Subject: [PATCH] doc(utils_browser):fix typo in itownsUtils comments --- packages/utils_browser/src/itownsUtil.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/utils_browser/src/itownsUtil.js b/packages/utils_browser/src/itownsUtil.js index b121ffc8b..9fdc4b547 100644 --- a/packages/utils_browser/src/itownsUtil.js +++ b/packages/utils_browser/src/itownsUtil.js @@ -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) => { @@ -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;