Hello,

I would like to pass a specified java object on the GHRequest call that is 
pushed into the calcWeight method of the Weighting class e.g.

GHRequest l_request = new GHRequest( start_latitude, start_longitude, 
end_latitude, end_longitude, myObject );

and the calcWeight should be also:

public final double calcWeight( final EdgeIteratorState p_edge, final boolean 
p_reverse, final Object p_myobject )

can I do this in any way?

Phil
_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper

Reply via email to