Skip to content

Commit 952ad67

Browse files
authored
Merge pull request #9018 from bampakoa/sample-height
Fix return type of sampleHeightMostDetailed function
2 parents bfdd105 + e75f249 commit 952ad67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Scene/Scene.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4371,7 +4371,7 @@ Scene.prototype.clampToHeight = function (
43714371
* @param {Cartographic[]} positions The cartographic positions to update with sampled heights.
43724372
* @param {Object[]} [objectsToExclude] A list of primitives, entities, or 3D Tiles features to not sample height from.
43734373
* @param {Number} [width=0.1] Width of the intersection volume in meters.
4374-
* @returns {Promise.<Number[]>} A promise that resolves to the provided list of positions when the query has completed.
4374+
* @returns {Promise.<Cartographic[]>} A promise that resolves to the provided list of positions when the query has completed.
43754375
*
43764376
* @example
43774377
* var positions = [

0 commit comments

Comments
 (0)