summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLTypes.h
diff options
context:
space:
mode:
authorm-stephen <truestyle2005@163.com>2019-09-20 10:14:44 +0800
committerGitHub <noreply@github.com>2019-09-20 10:14:44 +0800
commit8128d709b62189e0745ea64be3d35e8c6dab59fa (patch)
tree0cc8d278b0a1f7ca626f5a0e67a4287d4da18ab5 /platform/darwin/src/MGLTypes.h
parentda6a7e9318e911ab03cacde781235b50326770ec (diff)
downloadqtlocation-mapboxgl-8128d709b62189e0745ea64be3d35e8c6dab59fa.tar.gz
[ios]Add errors reporting (#15391)
* add errors reporting * [ios] report error if rendering takes > 1 second. (#15633)
Diffstat (limited to 'platform/darwin/src/MGLTypes.h')
-rw-r--r--platform/darwin/src/MGLTypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLTypes.h b/platform/darwin/src/MGLTypes.h
index c0c93002fb..963eda384b 100644
--- a/platform/darwin/src/MGLTypes.h
+++ b/platform/darwin/src/MGLTypes.h
@@ -57,7 +57,9 @@ typedef NS_ENUM(NSInteger, MGLErrorCode) {
/** An error occurred while modifying the offline storage database */
MGLErrorCodeModifyingOfflineStorageFailed = 9,
/** Source is invalid and cannot be removed from the style (e.g. after a style change) */
- MGLErrorCodeSourceCannotBeRemovedFromStyle = 10
+ MGLErrorCodeSourceCannotBeRemovedFromStyle = 10,
+ /** An error occurred while rendering */
+ MGLErrorCodeRenderingError = 11,
};
/** Options for enabling debugging features in an `MGLMapView` instance. */