forked from judero01col/GMap.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectionsProvider.cs
More file actions
53 lines (47 loc) · 2.42 KB
/
Copy pathDirectionsProvider.cs
File metadata and controls
53 lines (47 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
using System.Collections.Generic;
namespace GMap.NET
{
/// <summary>
/// directions interface
/// </summary>
public interface DirectionsProvider
{
DirectionsStatusCode GetDirections(out GDirections direction, PointLatLng start, PointLatLng end,
bool avoidHighways, bool avoidTolls, bool walkingMode, bool sensor, bool metric);
DirectionsStatusCode GetDirections(out GDirections direction, string start, string end, bool avoidHighways,
bool avoidTolls, bool walkingMode, bool sensor, bool metric);
/// <summary>
/// service may provide more than one route alternative in the response
/// </summary>
/// <param name="status"></param>
/// <param name="start"></param>
/// <param name="end"></param>
/// <param name="avoidHighways"></param>
/// <param name="avoidTolls"></param>
/// <param name="walkingMode"></param>
/// <param name="sensor"></param>
/// <param name="metric"></param>
/// <returns></returns>
IEnumerable<GDirections> GetDirections(out DirectionsStatusCode status, string start, string end,
bool avoidHighways, bool avoidTolls, bool walkingMode, bool sensor, bool metric);
/// <summary>
/// service may provide more than one route alternative in the response
/// </summary>
/// <param name="status"></param>
/// <param name="start"></param>
/// <param name="end"></param>
/// <param name="avoidHighways"></param>
/// <param name="avoidTolls"></param>
/// <param name="walkingMode"></param>
/// <param name="sensor"></param>
/// <param name="metric"></param>
/// <returns></returns>
IEnumerable<GDirections> GetDirections(out DirectionsStatusCode status, PointLatLng start, PointLatLng end,
bool avoidHighways, bool avoidTolls, bool walkingMode, bool sensor, bool metric);
DirectionsStatusCode GetDirections(out GDirections direction, PointLatLng start,
IEnumerable<PointLatLng> wayPoints, PointLatLng end, bool avoidHighways, bool avoidTolls, bool walkingMode,
bool sensor, bool metric);
DirectionsStatusCode GetDirections(out GDirections direction, string start, IEnumerable<string> wayPoints,
string end, bool avoidHighways, bool avoidTolls, bool walkingMode, bool sensor, bool metric);
}
}