{"action":"opened","issue":{"url":"https://api.github.com/repos/mapbox/MapboxDirections.swift/issues/18","repository_url":"https://api.github.com/repos/mapbox/MapboxDirections.swift","labels_url":"https://api.github.com/repos/mapbox/MapboxDirections.swift/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/MapboxDirections.swift/issues/18/comments","events_url":"https://api.github.com/repos/mapbox/MapboxDirections.swift/issues/18/events","html_url":"https://github.com/mapbox/MapboxDirections.swift/issues/18","id":133794442,"number":18,"title":"Avoid requesting alternatives by default","user":{"login":"1ec5","id":1231218,"avatar_url":"https://avatars.githubusercontent.com/u/1231218?v=3","gravatar_id":"","url":"https://api.github.com/users/1ec5","html_url":"https://github.com/1ec5","followers_url":"https://api.github.com/users/1ec5/followers","following_url":"https://api.github.com/users/1ec5/following{/other_user}","gists_url":"https://api.github.com/users/1ec5/gists{/gist_id}","starred_url":"https://api.github.com/users/1ec5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1ec5/subscriptions","organizations_url":"https://api.github.com/users/1ec5/orgs","repos_url":"https://api.github.com/users/1ec5/repos","events_url":"https://api.github.com/users/1ec5/events{/privacy}","received_events_url":"https://api.github.com/users/1ec5/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/MapboxDirections.swift/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"1ec5","id":1231218,"avatar_url":"https://avatars.githubusercontent.com/u/1231218?v=3","gravatar_id":"","url":"https://api.github.com/users/1ec5","html_url":"https://github.com/1ec5","followers_url":"https://api.github.com/users/1ec5/followers","following_url":"https://api.github.com/users/1ec5/following{/other_user}","gists_url":"https://api.github.com/users/1ec5/gists{/gist_id}","starred_url":"https://api.github.com/users/1ec5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1ec5/subscriptions","organizations_url":"https://api.github.com/users/1ec5/orgs","repos_url":"https://api.github.com/users/1ec5/repos","events_url":"https://api.github.com/users/1ec5/events{/privacy}","received_events_url":"https://api.github.com/users/1ec5/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-02-15T19:11:16Z","updated_at":"2016-02-15T19:11:16Z","closed_at":null,"body":"The API sends alternative routes by default, so [our logic is backwards](https://github.com/mapbox/MapboxDirections.swift/blob/ca47e8d19225e7e94357bd89411167a07ed00a6e/MapboxDirections.swift#L207-L209): we should explicitly turn off alternatives when `requestsAlternateRoutes` is `false`.\r\n\r\n/cc @zugaldia"}}