extraParams in addition to routing-profile
This commit is contained in:
parent
e7c68abbd8
commit
e6601b9a61
1 changed files with 4 additions and 1 deletions
|
@ -89,7 +89,10 @@ class KinematicModel extends OsmPathModel
|
|||
return Float.parseFloat( sval );
|
||||
}
|
||||
float v = ctxWay.getVariableValue( name, defaultValue );
|
||||
params.put( name, "" + v );
|
||||
if ( params != null )
|
||||
{
|
||||
params.put( name, "" + v );
|
||||
}
|
||||
return v;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue