Member Summary
Public Members | ||
public |
index: * |
Method Summary
Public Methods | ||
public |
historyAdd(pid: number, json: object) Add to the geojson history |
|
public |
historyCompare(pid: *, json: *) |
|
public |
historyInit(pid: number, json: object) Init the geojson history |
|
public |
historyRevert(pid: *, json: *) |
Private Methods | ||
private |
_compressGeojson(type: *, json: *): * |
|
private |
_makeHistoryIndex(json: *): * We need to make a fast access index for history based on our 'index' element for use later to speed up access and prevent many searches |
Inherited Summary
From class Queueable | ||
public |
queue: * |
|
public |
|
|
public |
finished(pid: *, mode: *) Call this method after you command has finished. |
|
public |
init(queue: *) init, override this for any promise based inits setting the self.ready=true after the promise |
|
public |
set(pid: *, value: *) |
|
public |
start(pid: *, command: *, json: *) Called from queue, starts running the actual command |
Public Members
public index: * source
Public Methods
public historyCompare(pid: *, json: *) source
Params:
Name | Type | Attribute | Description |
pid | * | ||
json | * |
public historyRevert(pid: *, json: *) source
Params:
Name | Type | Attribute | Description |
pid | * | ||
json | * |
Private Methods
private _compressGeojson(type: *, json: *): * source
Params:
Name | Type | Attribute | Description |
type | * | ||
json | * |
Return:
* |
private _makeHistoryIndex(json: *): * source
We need to make a fast access index for history based on our 'index' element for use later to speed up access and prevent many searches
Params:
Name | Type | Attribute | Description |
json | * |
Return:
* |