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
Afficher le fichier Open project: TNOCS/csTouch

Méthodes publiques

Méthode 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 méthode

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
Résultat IModelPoiInstance

RemovePoiInstance() public méthode

public RemovePoiInstance ( PoI poi ) : void
poi DataServer.PoI
Résultat void

Start() public méthode

Started only once in a service
public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void