GMapsFX icon indicating copy to clipboard operation
GMapsFX copied to clipboard

e.getRoutes().get(0).getLegs().get(0).getDuration() is returning null

Open rterp opened this issue 8 years ago • 1 comments

e.getRoutes().get(0).getLegs().get(0).getDistance().getText() ok, but the same with getDuration() return null

rterp avatar Oct 18 '16 23:10 rterp

public Integer getValue(){
    return (Integer) getJSObject().getMember("value");

}

public String getText(){
    return (String) getJSObject().getMember("text");
}

Barosi avatar Mar 12 '18 18:03 Barosi