A minor update of GMapsFX has been released this week which provides a bugfix for an issue that was preventing the GMapsFX GoogleMapView component from being loaded into Scene Builder under certain circumstances.
The release number is 2.0.4 and is currently available from BinTray, and hopefully should be available via Maven Central in the next couple of days.
3 thoughts on “GMapsFX 2.0.4 Released”
I’m just getting started with JavaFX. This is a great utility you’ve put together here. When I add your component in scene builder and click “Modify->fit to parent” the component appears with the map area on the right side and a scroll bar area to the left. Is there a way to hide or remove this scrollbar area if I just want to show the map?
so it looks like this was issue that was introduced with the Directions API, making the directions pane permanent. In order to get rid of it, you’ll need to download the latest source code, and change the #map-canvas CSS class in map.html to a width of 100% while changing the directions class to a width of 0%. You may also need to comment out the “directions” div at the bottom of the file. I’ll look at getting a more elegant fix in place for the next release.
Thanks a lot. That worked perfectly.