diff options
author | Julian Rex <julian.rex@mapbox.com> | 2019-09-16 11:04:59 -0400 |
---|---|---|
committer | Julian Rex <julian.rex@mapbox.com> | 2019-09-16 11:04:59 -0400 |
commit | 24eff45af20e8fa7bbdd567a9c03da6228cd6678 (patch) | |
tree | 0fd4f8a3318d980d46cb510cece62764c3de8684 /platform/darwin/src/MGLTypes.h | |
parent | 636a2df540ee69a14c8c4d8eed8267c4935840b1 (diff) | |
download | qtlocation-mapboxgl-upstream/jrex/ios-error-report-tweak.tar.gz |
[ios] report error if rendering takes > 1 second.upstream/jrex/ios-error-report-tweak
Diffstat (limited to 'platform/darwin/src/MGLTypes.h')
-rw-r--r-- | platform/darwin/src/MGLTypes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLTypes.h b/platform/darwin/src/MGLTypes.h index 7e0dd27141..df3c61a61c 100644 --- a/platform/darwin/src/MGLTypes.h +++ b/platform/darwin/src/MGLTypes.h @@ -55,7 +55,9 @@ typedef NS_ENUM(NSInteger, MGLErrorCode) { /** Source is in use and cannot be removed */ MGLErrorCodeSourceIdentifierMismatch = 8, /** An error occurred while modifying the offline storage database */ - MGLErrorCodeModifyingOfflineStorageFailed = 9 + MGLErrorCodeModifyingOfflineStorageFailed = 9, + /** An error occurred while rendering */ + MGLErrorCodeRenderingError = 10, }; /** Options for enabling debugging features in an `MGLMapView` instance. */ |