Search code examples
javagoogle-mapskmlgoogle-api-java-clientgoogle-earth-plugin

Send data from java program to google earth for realtime display


I have a java program and I want to display its result in realtime as features on google earth. I tried with kml but I don't think it is the solution. I found in google developpers website that there is a google earth engine API but it comes with a web-based IDE so my question is, how an I link it with my Java program?

Thank you


Solution

  • You can achieve this in JavaFX by using WebView and implement Google Map on it. Take a look at this site: GMapsFX :: Add Google Maps to your JavaFX application.