@maptrip/map-tiles 1.5.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,33 +5,168 @@ declare const RENDERING_CONFIG_TRAFFIC: {
5
5
  color: string;
6
6
  }[];
7
7
  layers: {
8
- trafficFlowFast: string;
9
- trafficFlowMedium: string;
10
- trafficFlowSlow: string;
8
+ trafficFlowFastHighway: string;
9
+ trafficFlowFastInterstate: string;
10
+ trafficFlowFastMinor: string;
11
+ trafficFlowMediumHighway: string;
12
+ trafficFlowMediumInterstate: string;
13
+ trafficFlowMediumMinor: string;
14
+ trafficFlowSlowHighway: string;
15
+ trafficFlowSlowInterstate: string;
16
+ trafficFlowSlowMinor: string;
11
17
  };
12
18
  renderers: {
13
- trafficFlowFast: {
19
+ trafficFlowFastHighway: ({
14
20
  from: number;
15
21
  to: number;
16
22
  line: {
17
23
  color: string;
18
24
  width: number;
25
+ delta: number;
26
+ outlineColor?: undefined;
27
+ outlineWidth?: undefined;
28
+ };
29
+ } | {
30
+ from: number;
31
+ to: number;
32
+ line: {
33
+ color: string;
34
+ width: number;
35
+ outlineColor: string;
36
+ outlineWidth: number;
37
+ delta?: undefined;
38
+ };
39
+ })[];
40
+ trafficFlowFastInterstate: ({
41
+ from: number;
42
+ to: number;
43
+ line: {
44
+ color: string;
45
+ width: number;
46
+ delta: number;
47
+ outlineColor?: undefined;
48
+ outlineWidth?: undefined;
49
+ };
50
+ } | {
51
+ from: number;
52
+ to: number;
53
+ line: {
54
+ color: string;
55
+ width: number;
56
+ delta: number;
57
+ outlineColor: string;
58
+ outlineWidth: number;
59
+ };
60
+ })[];
61
+ trafficFlowFastMinor: {
62
+ from: number;
63
+ to: number;
64
+ line: {
65
+ color: string;
66
+ width: number;
67
+ delta: number;
19
68
  };
20
69
  }[];
21
- trafficFlowMedium: {
70
+ trafficFlowMediumHighway: ({
71
+ from: number;
72
+ to: number;
73
+ line: {
74
+ color: string;
75
+ width: number;
76
+ delta: number;
77
+ outlineColor?: undefined;
78
+ outlineWidth?: undefined;
79
+ };
80
+ } | {
81
+ from: number;
82
+ to: number;
83
+ line: {
84
+ color: string;
85
+ width: number;
86
+ outlineColor: string;
87
+ outlineWidth: number;
88
+ delta?: undefined;
89
+ };
90
+ })[];
91
+ trafficFlowMediumInterstate: ({
22
92
  from: number;
23
93
  to: number;
24
94
  line: {
25
95
  color: string;
26
96
  width: number;
97
+ delta: number;
98
+ outlineColor?: undefined;
99
+ outlineWidth?: undefined;
100
+ };
101
+ } | {
102
+ from: number;
103
+ to: number;
104
+ line: {
105
+ color: string;
106
+ width: number;
107
+ delta: number;
108
+ outlineColor: string;
109
+ outlineWidth: number;
110
+ };
111
+ })[];
112
+ trafficFlowMediumMinor: {
113
+ from: number;
114
+ to: number;
115
+ line: {
116
+ color: string;
117
+ width: number;
118
+ delta: number;
27
119
  };
28
120
  }[];
29
- trafficFlowSlow: {
121
+ trafficFlowSlowHighway: ({
122
+ from: number;
123
+ to: number;
124
+ line: {
125
+ color: string;
126
+ width: number;
127
+ delta: number;
128
+ outlineColor?: undefined;
129
+ outlineWidth?: undefined;
130
+ };
131
+ } | {
132
+ from: number;
133
+ to: number;
134
+ line: {
135
+ color: string;
136
+ width: number;
137
+ outlineColor: string;
138
+ outlineWidth: number;
139
+ delta?: undefined;
140
+ };
141
+ })[];
142
+ trafficFlowSlowInterstate: ({
143
+ from: number;
144
+ to: number;
145
+ line: {
146
+ color: string;
147
+ width: number;
148
+ delta: number;
149
+ outlineColor?: undefined;
150
+ outlineWidth?: undefined;
151
+ };
152
+ } | {
153
+ from: number;
154
+ to: number;
155
+ line: {
156
+ color: string;
157
+ width: number;
158
+ delta: number;
159
+ outlineColor: string;
160
+ outlineWidth: number;
161
+ };
162
+ })[];
163
+ trafficFlowSlowMinor: {
30
164
  from: number;
31
165
  to: number;
32
166
  line: {
33
167
  color: string;
34
168
  width: number;
169
+ delta: number;
35
170
  };
36
171
  }[];
37
172
  };
@@ -3,7 +3,8 @@ import { RENDERING_CONFIG_DEFAULT } from './core/rendering_config_default.js';
3
3
  import { RENDERING_CONFIG_GRAYSCALE } from './core/rendering_config_grayscale.js';
4
4
  import { RENDERING_CONFIG_TRAFFIC } from './core/rendering_config_traffic.js';
5
5
  import { MapReleaseFetcher } from './util/MapReleaseFetcher.js';
6
- import { MapTripGoogleMapType } from './api-extensions/google/MapTripGoogleMapType.js';
7
6
  import { MapTripLeafletGridLayer } from './api-extensions/leaflet/MapTripLeafletGridLayer.js';
7
+ import { MapLibreStyleFactory } from './api-extensions/maplibre/MapLibreStyleFactory.js';
8
8
  import { MapTripOpenLayersSource } from './api-extensions/openlayers/MapTripOpenLayersSource.js';
9
- export { VectorTileFactory, RENDERING_CONFIG_DEFAULT, RENDERING_CONFIG_GRAYSCALE, RENDERING_CONFIG_TRAFFIC, MapReleaseFetcher, MapTripLeafletGridLayer, MapTripGoogleMapType, MapTripOpenLayersSource, };
9
+ import { MapTripGoogleMapType } from './api-extensions/google/MapTripGoogleMapType.js';
10
+ export { VectorTileFactory, RENDERING_CONFIG_DEFAULT, RENDERING_CONFIG_GRAYSCALE, RENDERING_CONFIG_TRAFFIC, MapReleaseFetcher, MapTripLeafletGridLayer, MapLibreStyleFactory, MapTripOpenLayersSource, MapTripGoogleMapType, };