Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
private void toTextFieldAction(ActionEvent event) {
DirectionsRequest request = new DirectionsRequest(from.get(), to.get(), TravelModes.DRIVING);
directionsService.getRoute(request, this, new DirectionsRenderer(true, mapView.getMap(), directionsPane));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment