Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@FXML
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