The latest version of GMapsFX has been released and includes a major bug fix and a few enhancements.
Last month I reported a bug that has been affecting users of GMapsFX on Mac OSX where the text appeared ‘garbled’. An example image is below.
The underlying issue is that the JavaFx WebView component on Mac OSX is rendering icons rather than letters for some websites, including Google Maps.
I receive a tweet from @ggeorgopoulos1 with a proposed work around that involves injecting CSS programatically into the page with the correct font. I’ve incorporated the code into the latest GMapsFX library and I am happy to say that it is working once again on Mac OSX!
Added a setKey() method to the GoogleMap compoment
This will allow a key to be set in the FXML and will eliminate the need to programatically set a key on the map object at runtime.
Support for Clustered Markers
Ability to Set Route Colors
Route colors can now be specified rather than having to rely on the default blue that Google Maps uses.