From 62984d668f9594cf727eb92087bbdf0a440a44f3 Mon Sep 17 00:00:00 2001 From: Nadia Barbosa Date: Fri, 17 May 2019 14:59:39 -0700 Subject: Edit MGLStyle.URL property --- platform/darwin/src/MGLStyle.h | 2 +- platform/darwin/src/MGLStyle.mm | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/platform/darwin/src/MGLStyle.h b/platform/darwin/src/MGLStyle.h index 5396a60eb4..93d6721b66 100644 --- a/platform/darwin/src/MGLStyle.h +++ b/platform/darwin/src/MGLStyle.h @@ -283,7 +283,7 @@ MGL_EXPORT The style URL associated with the style. */ -@property (readonly, strong, nullable) NSURL *URL; +@property (nonatomic, strong, nullable) NSURL *URL; #pragma mark Managing Sources diff --git a/platform/darwin/src/MGLStyle.mm b/platform/darwin/src/MGLStyle.mm index 2208547190..2764b3997a 100644 --- a/platform/darwin/src/MGLStyle.mm +++ b/platform/darwin/src/MGLStyle.mm @@ -83,7 +83,6 @@ const MGLExceptionName MGLRedundantSourceIdentifierException = @"MGLRedundantSou @property (nonatomic, readonly, weak) MGLMapView *mapView; @property (nonatomic, readonly) mbgl::style::Style *rawStyle; -@property (readwrite, strong, nullable) NSURL *URL; @property (nonatomic, readwrite, strong) NSMutableDictionary *openGLLayers; @property (nonatomic) NSMutableDictionary *> *localizedLayersByIdentifier; @@ -98,7 +97,6 @@ const MGLExceptionName MGLRedundantSourceIdentifierException = @"MGLRedundantSou [self commonInit]; self.URL = styleURL; - _URL = styleURL; } return self; -- cgit v1.2.1