summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLShapeOfflineRegion.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLShapeOfflineRegion.mm')
-rw-r--r--platform/darwin/src/MGLShapeOfflineRegion.mm2
1 files changed, 1 insertions, 1 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
};
}