I want to visualise the geographic map in the swing application. I found only swingx map api.
Do you know other open-source map api?
Swing is a GUI widget toolkit for Java. It is part of Oracle's Java Foundation Classes (JFC) – an API for providing a graphical user interface (GUI) for Java programs.
JavaFX new fixes will continue to be supported on Java SE 8 through March 2022 and removed from Java SE 11. Swing and AWT will continue to be supported on Java SE 8 through at least March 2025, and on Java SE 11 (18.9 LTS) through at least September 2026.
It is build on top of the AWT API and entirely written in java. It is platform independent unlike AWT and has lightweight components. It becomes easier to build applications since we already have GUI components like button, checkbox etc.
Try Geotools, it has a good API and tools for geospatial data.
You could use this mappanel in Swing:
http://mappanel.sourceforge.net/
This is completely open source.
together with openstreetmap.org maps.
A little late, but here is a solution:
Slippy maps for Java Swing GUIs: SwingX-WS
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With