Instanciate Mapchart without using web component

Is it possible to instanciate Map chart without using Web component.
I need to calculate the distance between two places.
I want to achieve this whiteout showing the map.


you can just use the Google Maps API directly: There is an official java API client from google:


Yes. I found the Java Client and has installed the maven repository.
Have written the code based on some examples.
It works as expected.
I will share my code and steps here at the forum.