extraParams in addition to routing-profile

This commit is contained in:
Arndt Brenschede 2018-03-10 10:32:59 +01:00
parent e7c68abbd8
commit 22f27f89d4

View file

@ -89,7 +89,10 @@ class KinematicModel extends OsmPathModel
return Float.parseFloat( sval ); return Float.parseFloat( sval );
} }
float v = ctxWay.getVariableValue( name, defaultValue ); float v = ctxWay.getVariableValue( name, defaultValue );
if ( params != null )
{
params.put( name, "" + v ); params.put( name, "" + v );
}
return v; return v;
} }