JFXMapPane – Sneek Peak…

I have recently been developing software using JavaFX and needed a “widget” that did not exist. I needed a Map component that would allow me to use static cached map tiles (Tile Pyramid) or a web service, and place various items on the map at specific geographical locations. I noted that there where 2 previous “Map” example apps – one that used the WebView component http://fxexperience.com/2011/05/maps-in-javafx-2-0/ and another by Rafal Rusin¬†http://rrusin.blogspot.com/2011/06/visualizing-gis-data-in-javafx-20-beta.html¬† that used a fairly heavy weight external library (GeoTools). These although nice did not fit my requirements, and after searching the web found a good basic java based map component JMapViewer http://wiki.openstreetmap.org/wiki/JMapViewer . After studying how it worked I realized that simply porting it to JavaFX would be too much work, like all the other GIS based map tools I have seen so I have rolled my own. I did use a couple of files from JMapViewer and have left the authors information and copyrights intact (GPL).

If someone wants to incorporate this into JFXtras – or any other library please feel free.