Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A function that can evaluate information about a link and return an additional
cost for travel on that link.
geobase.net (in geobase.net.dll) Version: 126.96.36.199
public delegate void RouteCustomCostFunc(
ref LinkCost linkCost
Public Delegate Sub RouteCustomCostFunc (
linkInfo As CustomRoutingInfo,
ByRef linkCost As LinkCost
- Type: Telogis.GeoBase.RoutingCustomRoutingInfo
A CustomRoutingInfo containing the flags for a link.
- Type: Telogis.GeoBase.RoutingLinkCost
The cost of the candidate link. This will be populated when this delegate is called, and the delegate should adjust it as necessary
Supply a delegate with this signature in order to perform custom routing.
parameter will have the routing strategy's
estimate of the cost for the link when your method is called. You should make
any relevant adjustments to this value
before you return that represent the cost of traversing this link.
This function can not be used with a GeoStreamRepository.
Related articles: Modifying the Routing Strategy.