Skip to content

Commit ac4f4d8

Browse files
committed
Fix typos
1 parent 1ebefd1 commit ac4f4d8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ API for the line style layer, head over to [the docs](https://maplibre.org/mapli
9595
and get to work filling out the remaining properties and modifiers.
9696

9797
Note that some Swift 5.9 improvements like macros will make things a bit easier, so it may make sense to punt on
98-
things like fleshing out the expresison API helpers (which will be highly repetitive) till that lands. When in doubt,
98+
things like fleshing out the expressions API helpers (which will be highly repetitive) till that lands. When in doubt,
9999
check out the issue tracker, as these sholud be noted there.
100100

101101
TODO: Look at PointFree's Snapshot testing that generates images of SwiftUI views. Also look at inline snapshotting.

Sources/MapLibreSwiftUI/MapViewModifiers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public extension MapView {
8989
return newMapView
9090
}
9191

92-
/// Add a long press gesture handler ot the MapView
92+
/// Add a long press gesture handler to the MapView
9393
///
9494
/// - Parameters:
9595
/// - minimumDuration: The minimum duration in seconds the user must press the screen to run the gesture.

Sources/MapLibreSwiftUI/Models/Gesture/MapGestureContext.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public struct MapGestureContext {
99
/// The state of the on change event.
1010
public let state: UIGestureRecognizer.State
1111

12-
/// The location that the gesture occured on the screen.
12+
/// The location that the gesture occurred on the screen.
1313
public let point: CGPoint
1414

1515
/// The underlying geographic coordinate at the point of the gesture.

Tests/MapLibreSwiftDSLTests/ShapeSourceTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import XCTest
55

66
final class ShapeSourceTests: XCTestCase {
77
func testShapeSourcePolylineShapeBuilder() throws {
8-
// Ideally in a style context, these colud be tested at compile time to
8+
// Ideally in a style context, these could be tested at compile time to
99
// ensure there are no duplicate IDs.
1010
let shapeSource = ShapeSource(identifier: "foo") {
1111
MLNPolyline(coordinates: samplePedestrianWaypoints)

0 commit comments

Comments
 (0)