0

I want to see a desired lat/lon point on the google maps on my java desktop application. I made some search so I think google map API is something which I looking for. Am I right? and Is there any useful example for me? (I am totally beginner at google Map API for java) And I would not to use Android.

4

1 Answer 1

0

It is recommended to use JavaFX for Java desktop applications whenever possible. Here is a good example of Google maps API and JavaFX integration:

https://rterp.wordpress.com/2014/04/25/gmapsfx-add-google-maps-to-your-javafx-application/

This will give you an idea of how you can use it in your own project.

But if you need to embed and display Google Maps in your Java Desktop Swing application, then JxBrowser Java library is what you need. Check this article for example:

http://java.dzone.com/articles/google-maps-java-swing

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.