Methods
# async listFunctions() → {Array}
Worker functions are slightly obfuscated, so this lists out availble Prototype functions.
List of available functions.
Array
# async loadGeoJSON(url) → {String|GeoJson}
Pass through of readGeoJson.
Parameters:
Name | Type | Description |
---|---|---|
url |
String
|
The url of the geojson file to be fetched. |
A unique id of the geoda object.
String
Fetched geodata
GeoJson
# async New() → {Boolean}
Initialize the worker with jsgeoda. Populated all jsgeoda functions in the worker for exposure through Comlink.
True, after loaded.
Boolean