C# Class csModels.Router.RouterModel

The RouterModel is responsible for drawing complex routes on the map. A route can consist of a combination of freehand lines, polylines and Google driving or walking routes. You can add waypoints to segment the route in parts. For each segment, you can specify the speed. You can also delete a segment, in which case the user is required to draw an alternative route between the two segments (except when we are dealing with the first or last segment). The default is a straight line. In addition, you can specify the start and finish time of each segment. For each waypoint, you can specify the arrival and departure time, which must match the finish and start time of the corresponding segments, naturally, and, optionally, its altitude.
Inheritance: IModel
Show file Open project: TNOCS/csTouch

Public Methods

Method Description
GetPoiInstance ( PoI poi ) : IModelPoiInstance

Called for every PoI, so here is the place to process the parameters and pass them to the PoI.

RemovePoiInstance ( PoI poi ) : void
Start ( ) : void

Started only once in a service

Stop ( ) : void

Method Details

GetPoiInstance() public method

Called for every PoI, so here is the place to process the parameters and pass them to the PoI.
public GetPoiInstance ( PoI poi ) : IModelPoiInstance
poi DataServer.PoI
return IModelPoiInstance

RemovePoiInstance() public method

public RemovePoiInstance ( PoI poi ) : void
poi DataServer.PoI
return void

Start() public method

Started only once in a service
public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void