{"action":"opened","issue":{"url":"https://api.github.com/repos/alexpechkarev/google-maps/issues/53","repository_url":"https://api.github.com/repos/alexpechkarev/google-maps","labels_url":"https://api.github.com/repos/alexpechkarev/google-maps/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/alexpechkarev/google-maps/issues/53/comments","events_url":"https://api.github.com/repos/alexpechkarev/google-maps/issues/53/events","html_url":"https://github.com/alexpechkarev/google-maps/issues/53","id":317335111,"number":53,"title":"Directions with LatLng not working","user":{"login":"padre","id":1129993,"avatar_url":"https://avatars3.githubusercontent.com/u/1129993?v=4","gravatar_id":"","url":"https://api.github.com/users/padre","html_url":"https://github.com/padre","followers_url":"https://api.github.com/users/padre/followers","following_url":"https://api.github.com/users/padre/following{/other_user}","gists_url":"https://api.github.com/users/padre/gists{/gist_id}","starred_url":"https://api.github.com/users/padre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/padre/subscriptions","organizations_url":"https://api.github.com/users/padre/orgs","repos_url":"https://api.github.com/users/padre/repos","events_url":"https://api.github.com/users/padre/events{/privacy}","received_events_url":"https://api.github.com/users/padre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-24T18:03:11Z","updated_at":"2018-04-24T18:03:11Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nif I try:\r\n\r\n`\\GoogleMaps::load('directions')\r\n                ->setParam([\r\n                    'origin' => \"Barcelona, ES\",\r\n                    'destination' => \"Madrid, ES\",\r\n                    ])\r\n                ->get();`\r\n\r\nworks properly.\r\n\r\nWhen I try:\r\n\r\n`\\GoogleMaps::load('directions')\r\n                ->setParam([\r\n                    'origin' => ['lat' => 41.3850639, 'lng' => 2.1734035],\r\n                    'destination' => ['lat' => 40.4167754, 'lng' => -3.7037902],\r\n                    ])\r\n                ->get();`\r\n\r\nthe response is:\r\n\r\n{\"geocoded_waypoints\":[{\"geocoder_status\":\"ZERO_RESULTS\"},{\"geocoder_status\":\"ZERO_RESULTS\"}],\"routes\":[],\"status\":\"NOT_FOUND\"}\r\n\r\nSomeone has been able to use directions API with lat/lng parameters?\r\n\r\nThanks. "}}
{"actor":{"display_login":"padre"}}