Skip to content

Commit da92f87

Browse files
committed
Small examples fixes
1 parent 0d6d1b2 commit da92f87

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Apps/Examples/Examples/All Examples/Annotations/CircleAnnotationExample.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ final class CircleAnnotationExample: UIViewController, ExampleProtocol {
6363
}
6464
annotation.dragEndHandler = { annotation, _ in
6565
annotation.circleRadius = 12
66-
annotation.circleStrokeWidth = 0
66+
annotation.circleStrokeWidth = 4
6767
print("annotation drag ended: \(annotation.id)")
6868
}
6969
annotations.append(annotation)

Apps/Examples/Examples/All Examples/Annotations/PointAnnotationClusteringExample.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ final class PointAnnotationClusteringExample: UIViewController, ExampleProtocol
2727
func addPointAnnotations() {
2828
// The image named `fire-station-11` is included in the app's Assets.xcassets bundle.
2929
let image = UIImage(named: "fire-station-11")!
30-
// Fire_Hydrants.geojson contains information about fire hydrants in Washington, D.C.
31-
// It was downloaded on 6/10/21 from https://opendata.dc.gov/datasets/DCGIS::fire-hydrants/about
32-
// Decode the GeoJSON into a feature collection on a background thread
33-
_ = Bundle.main.url(forResource: "Fire_Hydrants", withExtension: "geojson")!
3430
DispatchQueue.global(qos: .userInitiated).async {
31+
// Fire_Hydrants.geojson contains information about fire hydrants in Washington, D.C.
32+
// It was downloaded on 6/10/21 from https://opendata.dc.gov/datasets/DCGIS::fire-hydrants/about
33+
// Decode the GeoJSON into a feature collection on a background thread
3534
guard let featureCollection = try? self.decodeGeoJSON(from: "Fire_Hydrants") else {
3635
return
3736
}

0 commit comments

Comments
 (0)