Skip to content

Commit

Permalink
Added info about laguage parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Iwanicki committed May 19, 2015
1 parent 8d5112e commit d3628e7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ As Google wrote:
<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>


# 0.1.3
# 0.1.4

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>.

Expand All @@ -18,7 +18,7 @@ The OCGoogleDirectionsAPI library allows your iOS apps to deal with this powerfu
#### Podfile
```ruby
platform :ios, '7.0'
pod "OCGoogleDirectionsAPI", "~> 0.1.3"
pod "OCGoogleDirectionsAPI", "~> 0.1.4"
```

## How to get started
Expand Down Expand Up @@ -116,6 +116,12 @@ To read more about available attributes please see the [Request parameters](http
[request setRegion:@"pl"];
```

#### Language
```objc
[request setLanguage:@"pl"];
```
Here you can find the list of supported languages: [https://developers.google.com/maps/faq#languagesupport](https://developers.google.com/maps/faq#languagesupport)
#### Restrictions
There are 3 different restrictions:
Expand Down

0 comments on commit d3628e7

Please sign in to comment.