Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2498 | - | 1 | |
2 | namespace GMap.NET |
||
3 | { |
||
4 | using System.Collections.Generic; |
||
5 | |||
6 | /// <summary> |
||
7 | /// directions interface |
||
8 | /// </summary> |
||
9 | interface DirectionsProvider |
||
10 | { |
||
11 | DirectionsStatusCode GetDirections(out GDirections direction, PointLatLng start, PointLatLng end, bool avoidHighways, bool avoidTolls, bool walkingMode, bool sensor, bool metric); |
||
12 | |||
13 | DirectionsStatusCode GetDirections(out GDirections direction, string start, string end, bool avoidHighways, bool avoidTolls, bool walkingMode, bool sensor, bool metric); |
||
14 | |||
15 | /// <summary> |
||
16 | /// service may provide more than one route alternative in the response |
||
17 | /// </summary> |
||
18 | /// <param name="status"></param> |
||
19 | /// <param name="start"></param> |
||
20 | /// <param name="end"></param> |
||
21 | /// <param name="avoidHighways"></param> |
||
22 | /// <param name="avoidTolls"></param> |
||
23 | /// <param name="walkingMode"></param> |
||
24 | /// <param name="sensor"></param> |
||
25 | /// <param name="metric"></param> |
||
26 | /// <returns></returns> |
||
27 | IEnumerable<GDirections> GetDirections(out DirectionsStatusCode status, string start, string end, bool avoidHighways, bool avoidTolls, bool walkingMode, bool sensor, bool metric); |
||
28 | |||
29 | /// <summary> |
||
30 | /// service may provide more than one route alternative in the response |
||
31 | /// </summary> |
||
32 | /// <param name="status"></param> |
||
33 | /// <param name="start"></param> |
||
34 | /// <param name="end"></param> |
||
35 | /// <param name="avoidHighways"></param> |
||
36 | /// <param name="avoidTolls"></param> |
||
37 | /// <param name="walkingMode"></param> |
||
38 | /// <param name="sensor"></param> |
||
39 | /// <param name="metric"></param> |
||
40 | /// <returns></returns> |
||
41 | IEnumerable<GDirections> GetDirections(out DirectionsStatusCode status, PointLatLng start, PointLatLng end, bool avoidHighways, bool avoidTolls, bool walkingMode, bool sensor, bool metric); |
||
42 | |||
43 | DirectionsStatusCode GetDirections(out GDirections direction, PointLatLng start, IEnumerable<PointLatLng> wayPoints, PointLatLng end, bool avoidHighways, bool avoidTolls, bool walkingMode, bool sensor, bool metric); |
||
44 | |||
45 | DirectionsStatusCode GetDirections(out GDirections direction, string start, IEnumerable<string> wayPoints, string end, bool avoidHighways, bool avoidTolls, bool walkingMode, bool sensor, bool metric); |
||
46 | } |
||
47 | } |