Error class

The end of a download that did not complete. cause says why, with the same code on Android and iOS:

  • INVALID_REGION_DEFINITION: MapLibre cannot create a region from the definition. The download call fails with the same error.
  • TILE_COUNT_LIMIT_EXCEEDED: the region needs more tiles than the limit set with setOfflineTileCountLimit. The region is deleted.
  • REGION_DELETED: deleteOfflineRegion deleted the region first.
  • REGION_REPLACED: a download of the same area replaced the region.
  • DATABASE_RESET: resetOfflineDatabase deleted every region.
Inheritance

Constructors

Error(PlatformException cause)

Properties

cause → PlatformException
What ended the download, with one of the codes above.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited