import defined from "terriajs-cesium/Source/Core/defined"; import ImageryLayerFeatureInfo from "terriajs-cesium/Source/Scene/ImageryLayerFeatureInfo"; import formatPropertyValue from "../../Core/formatPropertyValue"; /** * Configures the description of this feature by creating an HTML table of properties and their values. * * @param {Object} properties An object literal containing the properties of the feature. */ ImageryLayerFeatureInfo.prototype.configureDescriptionFromProperties = function (properties: any) { function describe(properties: any) { let html = '
| " + key + " | " + describe(value) + " |
| " + key + " | " + formatPropertyValue(value) + " |