diff options
author | Julian Rex <julian.rex@gmail.com> | 2018-11-02 13:38:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-02 13:38:02 -0400 |
commit | a7d10868686eca58982c6ca9477b557b56c73bb5 (patch) | |
tree | 10ff47ef4c6daf04e0e6d92f71a140d10e2db4a7 /platform | |
parent | cbe65c730ca97402e3ee040c47cd56276954363c (diff) | |
download | qtlocation-mapboxgl-a7d10868686eca58982c6ca9477b557b56c73bb5.tar.gz |
[ios] CP #13266 - Changed event attributes to be JSON serialization friendly. (#13267)
Diffstat (limited to 'platform')
-rw-r--r-- | platform/darwin/src/MGLShapeOfflineRegion.mm | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLTilePyramidOfflineRegion.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLShapeOfflineRegion.mm b/platform/darwin/src/MGLShapeOfflineRegion.mm index 7a2de8a82b..c016c30ee4 100644 --- a/platform/darwin/src/MGLShapeOfflineRegion.mm +++ b/platform/darwin/src/MGLShapeOfflineRegion.mm @@ -32,7 +32,7 @@ MMEEventKeyShapeForOfflineRegion: @"shaperegion", MMEEventKeyMinZoomLevel: @(self.minimumZoomLevel), MMEEventKeyMaxZoomLevel: @(self.maximumZoomLevel), - MMEEventKeyStyleURL: self.styleURL + MMEEventKeyStyleURL: self.styleURL.absoluteString ?: [NSNull null] #endif }; } diff --git a/platform/darwin/src/MGLTilePyramidOfflineRegion.mm b/platform/darwin/src/MGLTilePyramidOfflineRegion.mm index 2e06be679e..be493bc45d 100644 --- a/platform/darwin/src/MGLTilePyramidOfflineRegion.mm +++ b/platform/darwin/src/MGLTilePyramidOfflineRegion.mm @@ -29,7 +29,7 @@ MMEEventKeyShapeForOfflineRegion: @"tileregion", MMEEventKeyMinZoomLevel: @(self.minimumZoomLevel), MMEEventKeyMaxZoomLevel: @(self.maximumZoomLevel), - MMEEventKeyStyleURL: self.styleURL + MMEEventKeyStyleURL: self.styleURL.absoluteString ?: [NSNull null] #endif }; } |