I am trying to use JXMapViewer (from swingx-ws) with Open Street Maps. I was wondering if it is possible to display map tiles in JXMapViewer based on the title and not in the north. For example, conventional car GPS navigation systems allow you to do this.
I looked through the documentation and there seems to be no easy way to do this. Is there anything else that does this besides JXMapViewer?
Nevermind, I found a solution. Here's how I did it (if anyone is interested):
JXMapViewer . JPanel BufferedImage, , .
super.paint() → BufferedImage- > → .
, convertGeoPositionToPoint convertPointToGeoPosition , .
Source: https://habr.com/ru/post/1741477/More articles:The right way to name your Java App Engine project is javaCheckedListBox VB.Net MultiExtended SelectionMode - vb.netHow to unit test manage a library? - c #Biztalk maps: grouping various nodes into a list - xmlHow to load a page using a variable in jQuery - jqueryLinq to Datarow; Select multiple columns individually? - vb.netconfigure mod_rewrite to allow img, js and css files? - apacheHow can I implement MapReduce using shell commands? - parallel-processingDjango - how to handle users and profiles correctly? - pythonMultiple Databases with NHibernate - oracle10gAll Articles