You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* develop:
Update README.
Update README and podspec.
Update CHANGELOG.
Fix typo.
Use more restrictive build flags.
Fix project issues.
Add fare to response.
Add duration_in_traffic to response.
Add transit_routing_preference parameter to request.
Add traffic_model parameter to request.
Add transit_mode parameter to request.
Add arrival_time and departure_time parameters to request object. Fix missing units parameter.
Format properties.
Remove property attributes which are not needed anymore.
Format code and optimised imports.
Copy file name to clipboardExpand all lines: README.md
+38-15Lines changed: 38 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ As Google wrote:
7
7
<i>"The Google Directions API is a service that calculates directions between locations using an HTTP request. You can search for directions for several modes of transportation, include transit, driving, walking or cycling. Directions may specify origins, destinations and waypoints either as text strings (e.g. "Chicago, IL" or "Darwin, NT, Australia") or as latitude/longitude coordinates. The Directions API can return multi-part directions using a series of waypoints."</i>
8
8
9
9
10
-
# 0.1.4
10
+
# 0.1.5
11
11
12
12
The OCGoogleDirectionsAPI library allows your iOS apps to deal with this powerful service easily. <b>IMPORTANT:</b> It uses `NSURLSession` only available in iOS 7.0+. It is <b>not compatible with iOS 6.x and lower</b>.
13
13
@@ -18,7 +18,7 @@ The OCGoogleDirectionsAPI library allows your iOS apps to deal with this powerfu
18
18
#### Podfile
19
19
```ruby
20
20
platform :ios, '7.0'
21
-
pod "OCGoogleDirectionsAPI", "~> 0.1.4"
21
+
pod "OCGoogleDirectionsAPI", "~> 0.1.5"
22
22
```
23
23
24
24
## How to get started
@@ -87,19 +87,11 @@ To create an isntance of `OCDirectionsRequest` you can use one of the following
Be aware that `geocoded_waypoints` property is not supported in the current version (#8).
202
215
203
216
### OCDirectionsResponseStatus
204
217
@@ -233,6 +246,7 @@ Properties:
233
246
* dictionary `NSDictionary*`
234
247
* distance `OCDirectionsDistance*`
235
248
* duration `OCDirectionsDuration*`
249
+
* durationInTraffic `OCDirectionsDuration*`
236
250
* endAddress `NSString*`
237
251
* endLocation `OCLocationCoordinate2D`
238
252
* startAddress `NSString*`
@@ -262,9 +276,9 @@ Properties:
262
276
* dictionary `NSDictionary*`
263
277
* text `NSString*`
264
278
* value `NSNumber*`
279
+
265
280
266
-
267
-
### OCDirectionsDuration
281
+
### OCDirectionsDuration
268
282
269
283
Properties:
270
284
* dictionary `NSDictionary*`
@@ -295,11 +309,20 @@ Properties:
295
309
* stepInterpolation `NSNumber*`
296
310
297
311
312
+
### OCDirectionsFare
313
+
314
+
Properties:
315
+
* dictionary `NSDictionary*`
316
+
* currency `NSString*`
317
+
* text `NSString*`
318
+
* value `NSNumber*`
319
+
320
+
298
321
## Contact
299
322
300
-
Did you find a bug? Do you have great ideas how to make the library better? or you just want to say hello:) ... please do not hesitate to contact me via mail marcin.iwanicki[at]live.com or twitter @marciniwanicki.
323
+
Did you find a bug? Do you have great ideas how to make the library better? or you just want to say hello:) ... drop me a line on twitter @marciniwanicki.
0 commit comments