summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLTypes.h
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-15 16:08:12 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-17 11:25:48 +0200
commitdf0dfa162b4196f22af1742e1f898ec1fd63a88e (patch)
tree0de4c99bc4aade48efc82b74b4a6dd73fa886541 /platform/darwin/src/MGLTypes.h
parente7c1ba2edf8bdb8fbe8ffe0c15908b6beac517ce (diff)
downloadqtlocation-mapboxgl-df0dfa162b4196f22af1742e1f898ec1fd63a88e.tar.gz
[macos] Update changes in MapObserver::onDidFailLoadingMap
Diffstat (limited to 'platform/darwin/src/MGLTypes.h')
-rw-r--r--platform/darwin/src/MGLTypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLTypes.h b/platform/darwin/src/MGLTypes.h
index 8cd2cacaa6..e4573c285e 100644
--- a/platform/darwin/src/MGLTypes.h
+++ b/platform/darwin/src/MGLTypes.h
@@ -42,6 +42,10 @@ typedef NS_ENUM(NSInteger, MGLErrorCode) {
MGLErrorCodeBadServerResponse = 2,
/** An attempt to establish a connection failed. */
MGLErrorCodeConnectionFailed = 3,
+ /** A style parse error occurred while attempting to load the map. */
+ MGLErrorCodeParseStyleFailed = 4,
+ /** An attempt to load the style failed. */
+ MGLErrorCodeLoadStyleFailed = 5,
};
/**