Contents

geoJSONDidError(error, geoJSON)

Indicates when the GeoJSON import fails.

Declaration

geoJSONDidError?(
    error: GeoJSONImportError | Error,
    geoJSON?: GeoJSONTypes.GeoJSON,
): void;

Parameters

  • error:

    An Error instance related to the last blocking error.

  • geoJSON:

    The original parsed GeoJSON object.

Discussion

MapKit JS calls this method when the GeoJSON fails to load.

See Also

Handling errors and completion