Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google maps api java

i have a console application, needs to find the distance and route between two places using the google maps api. that means i do not have a browser and hence no javascript. is it possible to do it using java using a HTTP request or something. i have tried geocoding and can find the latitude and longitude of a given address using HTTP requests. how to find distance and routes using java.

like image 905
Rohit Banga Avatar asked Oct 15 '25 04:10

Rohit Banga


1 Answers

Rhino provides a javascript engine for Java applications. You can play around with it.

like image 159
Bozho Avatar answered Oct 16 '25 18:10

Bozho



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!