| @@ -337,6 +337,19 @@ class Viewer { | |||
| return this | |||
| } | |||
| /** | |||
| * | |||
| * @param windowPosition | |||
| * @returns {Promise} | |||
| */ | |||
| getImageryLayerInfo(windowPosition) { | |||
| let ray = this._delegate.camera.getPickRay(windowPosition) | |||
| return this._delegate.imageryLayers.pickImageryLayerFeatures( | |||
| ray, | |||
| this._delegate.scene | |||
| ) | |||
| } | |||
| /** | |||
| * Adds the terrain | |||
| * @param terrain | |||