geoJSONDidError(error, geoJSON)
Indicates when the GeoJSON import fails.
Declaration
geoJSONDidError?(
error: GeoJSONImportError | Error,
geoJSON?: GeoJSONTypes.GeoJSON,
): void;Parameters
- error:
An
Errorinstance related to the last blocking error. - geoJSON:
The original parsed GeoJSON object.
Discussion
MapKit JS calls this method when the GeoJSON fails to load.