[gs-longan](../README.md) / CommandImportEarth

# Class: CommandImportEarth

## Hierarchy

- [`Command`](Command.md)

  ↳ **`CommandImportEarth`**

## Table of contents

### Constructors

- [constructor](CommandImportEarth.md#constructor)

### Properties

- [bag](CommandImportEarth.md#bag)
- [earthMapDataSource](CommandImportEarth.md#earthmapdatasource)
- [maxZoomLevel](CommandImportEarth.md#maxzoomlevel)
- [onBegin](CommandImportEarth.md#onbegin)
- [onEnd](CommandImportEarth.md#onend)
- [onInterrupt](CommandImportEarth.md#oninterrupt)
- [onRestore](CommandImportEarth.md#onrestore)
- [typeName](CommandImportEarth.md#typename)

### Accessors

- [currentState](CommandImportEarth.md#currentstate)
- [handledCommandPack](CommandImportEarth.md#handledcommandpack)
- [handledCommandState](CommandImportEarth.md#handledcommandstate)
- [handledStateList](CommandImportEarth.md#handledstatelist)
- [isHistoryHandled](CommandImportEarth.md#ishistoryhandled)
- [isSuccessed](CommandImportEarth.md#issuccessed)
- [process](CommandImportEarth.md#process)
- [viewer](CommandImportEarth.md#viewer)

### Methods

- [begin](CommandImportEarth.md#begin)
- [beginByState](CommandImportEarth.md#beginbystate)
- [cancelHandledHistory](CommandImportEarth.md#cancelhandledhistory)
- [commandCancel](CommandImportEarth.md#commandcancel)
- [commandOk](CommandImportEarth.md#commandok)
- [end](CommandImportEarth.md#end)
- [endByState](CommandImportEarth.md#endbystate)
- [interrupt](CommandImportEarth.md#interrupt)
- [interruptByState](CommandImportEarth.md#interruptbystate)
- [objectSelecterLButtonDown](CommandImportEarth.md#objectselecterlbuttondown)
- [restore](CommandImportEarth.md#restore)
- [restoreByState](CommandImportEarth.md#restorebystate)

## Constructors

### constructor

• **new CommandImportEarth**(`earthMapDataSource?`, `maxZoomLevel?`): [`CommandImportEarth`](CommandImportEarth.md)

#### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `earthMapDataSource` | `number` | `0` |
| `maxZoomLevel` | `number` | `17` |

#### Returns

[`CommandImportEarth`](CommandImportEarth.md)

#### Overrides

[Command](Command.md).[constructor](Command.md#constructor)

## Properties

### bag

• **bag**: `Object` = `{}`

#### Inherited from

[Command](Command.md).[bag](Command.md#bag)

___

### earthMapDataSource

• **earthMapDataSource**: `number`

___

### maxZoomLevel

• **maxZoomLevel**: `number`

___

### onBegin

• **onBegin**: [`List`](List.md)\<() => `void`\>

#### Inherited from

[Command](Command.md).[onBegin](Command.md#onbegin)

___

### onEnd

• **onEnd**: [`List`](List.md)\<() => `void`\>

#### Inherited from

[Command](Command.md).[onEnd](Command.md#onend)

___

### onInterrupt

• **onInterrupt**: [`List`](List.md)\<() => `void`\>

#### Inherited from

[Command](Command.md).[onInterrupt](Command.md#oninterrupt)

___

### onRestore

• **onRestore**: [`List`](List.md)\<() => `void`\>

#### Inherited from

[Command](Command.md).[onRestore](Command.md#onrestore)

___

### typeName

• **typeName**: `string` = `"Command"`

#### Inherited from

[Command](Command.md).[typeName](Command.md#typename)

## Accessors

### currentState

• `get` **currentState**(): [`DeltaState`](DeltaState.md)

#### Returns

[`DeltaState`](DeltaState.md)

#### Inherited from

Command.currentState

• `set` **currentState**(`value`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [`DeltaState`](DeltaState.md) |

#### Returns

`void`

#### Inherited from

Command.currentState

___

### handledCommandPack

• `get` **handledCommandPack**(): [`StatePack`](StatePack.md)

#### Returns

[`StatePack`](StatePack.md)

#### Inherited from

Command.handledCommandPack

• `set` **handledCommandPack**(`value`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [`StatePack`](StatePack.md) |

#### Returns

`void`

#### Inherited from

Command.handledCommandPack

___

### handledCommandState

• `get` **handledCommandState**(): [`DeltaState`](DeltaState.md)

#### Returns

[`DeltaState`](DeltaState.md)

#### Inherited from

Command.handledCommandState

• `set` **handledCommandState**(`value`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `value` | [`DeltaState`](DeltaState.md) |

#### Returns

`void`

#### Inherited from

Command.handledCommandState

___

### handledStateList

• `get` **handledStateList**(): [`List`](List.md)\<[`DeltaState`](DeltaState.md)\>

#### Returns

[`List`](List.md)\<[`DeltaState`](DeltaState.md)\>

#### Inherited from

Command.handledStateList

___

### isHistoryHandled

• `get` **isHistoryHandled**(): `boolean`

#### Returns

`boolean`

#### Inherited from

Command.isHistoryHandled

• `set` **isHistoryHandled**(`value`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `value` | `boolean` |

#### Returns

`void`

#### Inherited from

Command.isHistoryHandled

___

### isSuccessed

• `get` **isSuccessed**(): `boolean`

#### Returns

`boolean`

#### Inherited from

Command.isSuccessed

• `set` **isSuccessed**(`value`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `value` | `boolean` |

#### Returns

`void`

#### Inherited from

Command.isSuccessed

___

### process

• `get` **process**(): [`Process`](Process.md)

#### Returns

[`Process`](Process.md)

#### Inherited from

Command.process

• `set` **process**(`process`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `process` | [`Process`](Process.md) |

#### Returns

`void`

#### Inherited from

Command.process

___

### viewer

• `get` **viewer**(): [`Viewer`](Viewer.md)

#### Returns

[`Viewer`](Viewer.md)

#### Inherited from

Command.viewer

• `set` **viewer**(`viewer`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `viewer` | [`Viewer`](Viewer.md) |

#### Returns

`void`

#### Inherited from

Command.viewer

## Methods

### begin

▸ **begin**(): `void`

#### Returns

`void`

#### Overrides

[Command](Command.md).[begin](Command.md#begin)

___

### beginByState

▸ **beginByState**(): `void`

#### Returns

`void`

#### Inherited from

[Command](Command.md).[beginByState](Command.md#beginbystate)

___

### cancelHandledHistory

▸ **cancelHandledHistory**(): `void`

#### Returns

`void`

#### Inherited from

[Command](Command.md).[cancelHandledHistory](Command.md#cancelhandledhistory)

___

### commandCancel

▸ **commandCancel**(): `void`

#### Returns

`void`

#### Overrides

[Command](Command.md).[commandCancel](Command.md#commandcancel)

___

### commandOk

▸ **commandOk**(): `void`

#### Returns

`void`

#### Overrides

[Command](Command.md).[commandOk](Command.md#commandok)

___

### end

▸ **end**(): `void`

#### Returns

`void`

#### Overrides

[Command](Command.md).[end](Command.md#end)

___

### endByState

▸ **endByState**(): `void`

#### Returns

`void`

#### Inherited from

[Command](Command.md).[endByState](Command.md#endbystate)

___

### interrupt

▸ **interrupt**(): `void`

#### Returns

`void`

#### Inherited from

[Command](Command.md).[interrupt](Command.md#interrupt)

___

### interruptByState

▸ **interruptByState**(): `void`

#### Returns

`void`

#### Inherited from

[Command](Command.md).[interruptByState](Command.md#interruptbystate)

___

### objectSelecterLButtonDown

▸ **objectSelecterLButtonDown**(`sender`, `e`): `void`

#### Parameters

| Name | Type |
| :------ | :------ |
| `sender` | [`ObjectSelector`](ObjectSelector.md) |
| `e` | [`ViewerEvent`](ViewerEvent.md) |

#### Returns

`void`

___

### restore

▸ **restore**(): `void`

#### Returns

`void`

#### Inherited from

[Command](Command.md).[restore](Command.md#restore)

___

### restoreByState

▸ **restoreByState**(): `void`

#### Returns

`void`

#### Inherited from

[Command](Command.md).[restoreByState](Command.md#restorebystate)
