-
-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathopen-route-service.d.ts
More file actions
72 lines (60 loc) · 1.51 KB
/
open-route-service.d.ts
File metadata and controls
72 lines (60 loc) · 1.51 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
type Coordinates = [number, number];
type WayPoints = [number, number];
type BBox = [number, number, number, number];
type SegmentStep = {
distance: number;
duration: number;
type: number;
instruction: string;
name: string;
way_points: WayPoints;
};
type FeaturePropertiesSegment = {
distance: string;
duration: string;
steps: SegmentStep[];
};
type FootWalkingDirectionFeaturePropertiesSummary = {
distance: number;
duration: number;
};
type FootWalkingDirectionFeatureProperties = {
segments: FeaturePropertiesSegment[];
way_points: WayPoints;
summary: FootWalkingDirectionFeaturePropertiesSummary;
};
type FootWalkingDirectionFeatureGeometry = {
coordinates: Coordinates[];
type: string;
};
type FootWalkingDirectionFeature = {
bbox: BBox;
type: string;
properties: FootWalkingDirectionFeatureProperties;
geometry: FootWalkingDirectionFeatureGeometry;
};
type FootWalkingDirectionMetadataQuery = {
coordinates: Coordinates[];
profile: string;
profileName: string;
format: string;
};
type FootWalkingDirectionMetadataEngine = {
version: string;
build_date: string;
graph_date: string;
osm_date: string;
};
type FootWalkingDirectionMetadata = {
attribution: string;
service: string;
timestamp: number;
query: FootWalkingDirectionMetadataQuery;
engine: FootWalkingDirectionMetadataEngine;
};
type OpenRouteServiceFootWalkingDirectionResponse = {
type: string;
bbox: BBox;
features: FootWalkingDirectionFeature[];
metadata: FootWalkingDirectionMetadata;
};