summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/darwin/src/MGLStyle.h2
-rw-r--r--platform/darwin/src/MGLStyle.mm2
2 files changed, 1 insertions, 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 <a href="https://docs.mapbox.com/help/glossary/style-url/">style URL</a> 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<NSString *, MGLOpenGLStyleLayer *> *openGLLayers;
@property (nonatomic) NSMutableDictionary<NSString *, NSDictionary<NSObject *, MGLTextLanguage *> *> *localizedLayersByIdentifier;
@@ -98,7 +97,6 @@ const MGLExceptionName MGLRedundantSourceIdentifierException = @"MGLRedundantSou
[self commonInit];
self.URL = styleURL;
- _URL = styleURL;
}
return self;