summaryrefslogtreecommitdiff
path: root/platform/macos/docs/guides/Using Style Functions at Runtime.md
diff options
context:
space:
mode:
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)