Methods
Export dispatcher.
| Name | Type | Description |
|---|---|---|
entities |
Array.<Entity> | EntityCollection | Entity | Entities to export. |
format |
string | Target format ("OMM", "OEM", "CZM", "GJN", "KML"). |
options |
object | optional Export options. |
Returns:
Export result.
Export entities to CZML packets.
| Name | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
entities |
Array.<Entity> | EntityCollection | Entity | Entities to export. | ||||||||
options |
object |
optional
Export options.
|
Returns:
CZML packet array.
Export entities to GeoJSON FeatureCollection.
| Name | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
entities |
Array.<Entity> | EntityCollection | Entity | Entities to export. | ||||||||
options |
object |
optional
Export options.
|
Returns:
GeoJSON FeatureCollection.
Export entities to KML string.
| Name | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
entities |
Array.<Entity> | EntityCollection | Entity | Entities to export. | ||||||||
options |
object |
optional
Export options.
|
Returns:
KML XML string.
Export entities to lightweight OEM-like JSON.
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
entities |
Array.<Entity> | EntityCollection | Entity | Entities to export. | ||||||||||||
options |
object |
optional
Export options.
|
Returns:
OEM-like records.
Export entities to OMM JSON.
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
entities |
Array.<Entity> | EntityCollection | Entity | Entities to export. | ||||||||||||
options |
object |
optional
Export options.
|
Returns:
OMM records.