text stringlengths 0 8.81k |
|---|
message |
string |
optional |
The message to include in the exception that is thrown if |
a destroyed object's function is called. |
Example: |
// How a texture would destroy itself. |
this.destroy = function () { |
_gl.deleteTexture(_texture); |
return Cesium.destroyObject(this); |
}; |
See: |
DeveloperError |
exportKml(options) → Promise.<(exportKmlResultKml|exportKmlResultKmz)> |
engine/Source/DataSources/exportKml.js 238 |
Exports an EntityCollection as a KML document. Only Point, Billboard, Model, Path, Polygon, Polyline geometries |
will be exported. Note that there is not a 1 to 1 mapping of Entity properties to KML Feature properties. For |
example, entity properties that are time dynamic but cannot be dynamic in KML are exported with their values at |
options.time or the beginning of the EntityCollection's time interval if not specified. For time-dynamic properties |
that are supported in KML, we use the samples if it is a SampledProperty otherwise we sample the value using |
the options.sampleDuration. Point, Billboard, Model and Path geometries with time-dynamic positions will be exported |
as gx:Track Features. Not all Materials are representable in KML, so for more advanced Materials just the primary |
color is used. Canvas objects are exported as PNG images. |
Name |
Type |
Description |
options |
object |
An object with the following properties: |
Name |
Type |
Default |
Description |
entities |
EntityCollection |
The EntityCollection to export as KML. |
ellipsoid |
Ellipsoid |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.