dlsc-software-consulting-gmbh / GMapsFX

Java API for using Google Maps within a JavaFX application.
http://rterp.github.io/GMapsFX/
Apache License 2.0
319 stars 119 forks source link

Corrected error on DirectionsWaypoint #168

Closed MauriFont closed 4 years ago

MauriFont commented 6 years ago

When passing LatLong as an argument to the DirectionsWaypoint constructor it creates a wrong javascript string:

"{location: " + l.toString() + "}" -> {location: lat: 1.000000 lng: 1.0000000}

I changed it so it just passes the LatLong variable name.