Skip to content

Commit

Permalink
Updated readme for #23
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed May 15, 2016
1 parent fe0fc5a commit efa59c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ You add overlays to the `overlays` field in the `SnapshotOptions` object. Here a
let markerOverlay = Marker(
coordinate: CLLocationCoordinate2D(latitude: 45.52, longitude: -122.681944),
size: .Medium,
label: "cafe",
label: .IconName("cafe"),
color: .brownColor()
)
```
Expand All @@ -98,7 +98,7 @@ let geojsonOverlay: GeoJSON
do {
let geojsonURL = NSURL(string: "http://git.io/vCv9U")!
let geojsonString = try NSString(contentsOfURL: geojsonURL, encoding: NSUTF8StringEncoding)
geojsonOverlay = GeoJSON(string: geojsonString as String)
geojsonOverlay = GeoJSON(objectString: geojsonString as String)
}
```

Expand All @@ -108,7 +108,7 @@ do {

```swift
let path = Path(
pathCoordinates: [
coordinates: [
CLLocationCoordinate2D(
latitude: 45.52475063103141, longitude: -122.68209457397461
),
Expand Down

0 comments on commit efa59c9

Please sign in to comment.