summaryrefslogtreecommitdiff
path: root/platform/macos/docs/guides/Using Style Functions at Runtime.md
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-05-05 11:13:33 -0700
committerMinh Nguyễn <mxn@1ec5.org>2017-05-08 14:41:21 -0700
commitdc7e30dd432eb2badc0fcd2bff859d9b6bfcc7d4 (patch)
tree3df0724b5f314f95449db239def74203d366cff9 /platform/macos/docs/guides/Using Style Functions at Runtime.md
parentbaaae99a03202641ae5b8024e57b691fe61a6688 (diff)
downloadqtlocation-mapboxgl-dc7e30dd432eb2badc0fcd2bff859d9b6bfcc7d4.tar.gz
[ios, macos] Fixed syntax error in DDS guide
Diffstat (limited to 'platform/macos/docs/guides/Using Style Functions at Runtime.md')
-rw-r--r--platform/macos/docs/guides/Using Style Functions at Runtime.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/docs/guides/Using Style Functions at Runtime.md b/platform/macos/docs/guides/Using Style Functions at Runtime.md
index b3098dfe04..c03a35006a 100644
--- a/platform/macos/docs/guides/Using Style Functions at Runtime.md
+++ b/platform/macos/docs/guides/Using Style Functions at Runtime.md
@@ -49,7 +49,7 @@ The effect a key has on the style value is determined by the interpolation mode.
The stops dictionary below, for example, shows colors that continuously shift from yellow to orange to red to blue to white based on the attribute value.
``` swift
-let url = URL(string: "https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_week.geojson")
+let url = URL(string: "https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_week.geojson")!
let symbolSource = MGLSource(identifier: "source")
let symbolLayer = MGLSymbolStyleLayer(identifier: "place-city-sm", source: symbolSource)