Adds the maximum permitted speed for a road class into the internal speed table of the NetworkBuilder.


Namespace: ActualMap
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Function AddRoadClass( _ 
   ByVal roadClass As String,  _ 
   ByVal speed As Integer _ 
) As Boolean
C#
public bool AddRoadClass(
   string roadClass,
   int speed
)
C++
public:
 bool AddRoadClass(
   String roadClass,
   int speed
) sealed 
J#
public bool AddRoadClass(
   string roadClass,
   int speed
)
JScript
public  function AddRoadClass(
   roadClass : String,
   speed : int
) : bool

Parameters

roadClass
A string expression that specifies a road class.
speed
An integer expression that specifies the speed.

Return Value

The method returns True if the road class was added successfully.

See Also