API REFERENCE
parseGeoJSON
Geo Map: decode RFC 7946 GeoJSON without changing data. Returns null for other types or an unavailable child.
Definition
parseGeoJSON(input: unknown): Promise<GeoMapFeatureCollection | null>| Arguments | Type | Required |
|---|---|---|
input | unknown | Required |
Return type: Promise<GeoMapFeatureCollection | null>. Call the method after element registration and await its Promise result.
- GeoMapFeatureCollection
Type definition