{"action":"created","issue":{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/873","repository_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps","labels_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/873/labels{/name}","comments_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/873/comments","events_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/873/events","html_url":"https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/873","id":137182230,"number":873,"title":"showing route from external service","user":{"login":"iBasit","id":34341,"avatar_url":"https://avatars.githubusercontent.com/u/34341?v=3","gravatar_id":"","url":"https://api.github.com/users/iBasit","html_url":"https://github.com/iBasit","followers_url":"https://api.github.com/users/iBasit/followers","following_url":"https://api.github.com/users/iBasit/following{/other_user}","gists_url":"https://api.github.com/users/iBasit/gists{/gist_id}","starred_url":"https://api.github.com/users/iBasit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iBasit/subscriptions","organizations_url":"https://api.github.com/users/iBasit/orgs","repos_url":"https://api.github.com/users/iBasit/repos","events_url":"https://api.github.com/users/iBasit/events{/privacy}","received_events_url":"https://api.github.com/users/iBasit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-29T08:20:04Z","updated_at":"2016-05-12T14:38:17Z","closed_at":"2016-02-29T09:02:17Z","body":"https://developers.google.com/maps/documentation/javascript/examples/directions-waypoints\r\n\r\nis there a way to combine external service with this package? I'm trying to get route information from external service and display on native map, but its not working\r\n\r\n```\r\nvar map = plugin.google.maps.Map.getMap(document.getElementById(\"map\"));\r\nvar request = {\r\n                origin: {\r\n                    lat: 37.736033,\r\n                    lng: -122.406750\r\n                },\r\n                destination: {\r\n                    lat: 37.787060,\r\n                    lng: -122.389584\r\n                },\r\n                travelMode: google.maps.TravelMode.WALKING\r\n            };\r\n\r\n            new google.maps.DirectionsService().route(request, function(response, status)\r\n            {\r\n                if (status == google.maps.DirectionsStatus.OK)\r\n                {\r\n                    alert(response);\r\n                    var route = new google.maps.DirectionsRenderer({suppressMarkers: true});\r\n                    route.setMap(map);\r\n                    route.setDirections(response);\r\n                }\r\n            });\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/comments/218777643","html_url":"https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/873#issuecomment-218777643","issue_url":"https://api.github.com/repos/mapsplugin/cordova-plugin-googlemaps/issues/873","id":218777643,"user":{"login":"luco","id":246373,"avatar_url":"https://avatars.githubusercontent.com/u/246373?v=3","gravatar_id":"","url":"https://api.github.com/users/luco","html_url":"https://github.com/luco","followers_url":"https://api.github.com/users/luco/followers","following_url":"https://api.github.com/users/luco/following{/other_user}","gists_url":"https://api.github.com/users/luco/gists{/gist_id}","starred_url":"https://api.github.com/users/luco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luco/subscriptions","organizations_url":"https://api.github.com/users/luco/orgs","repos_url":"https://api.github.com/users/luco/repos","events_url":"https://api.github.com/users/luco/events{/privacy}","received_events_url":"https://api.github.com/users/luco/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T14:38:17Z","updated_at":"2016-05-12T14:38:17Z","body":"@iBasit Yep. I'm including the JS API and it's causing conflict. All I can say is this. If I remove the js, works fine."}}