API REFERENCE
parseTopoJSON
Geo Map: decode TopoJSON without changing data. Returns null for other chart types or an unavailable child.
Definition
parseTopoJSON(input: unknown, objectName?: string): Promise<GeoMapFeatureCollection | null>| Arguments | Type | Required |
|---|---|---|
input | unknown | Required |
objectName | string | Optional |
Return type: Promise<GeoMapFeatureCollection | null>. Call the method after element registration and await its Promise result.
- GeoMapFeatureCollection
Type definition