[GraphHopper] routing call with object pass into weight object
Philipp Kraus
philipp.kraus at tu-clausthal.de
Sat Mar 7 11:58:31 UTC 2015
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
More information about the GraphHopper
mailing list