@tomtom-org/maps-sdk 0.45.6 → 0.45.8

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.
@@ -1574,7 +1574,7 @@ export declare const defaultConfig: GlobalConfig;
1574
1574
  * - `major`: Significant delay (10+ minutes)
1575
1575
  * - `indefinite`: Unknown or extremely long delay (e.g., road closure)
1576
1576
  *
1577
- * @group Route
1577
+ * @group Traffic
1578
1578
  */
1579
1579
  export declare type DelayMagnitude = 'unknown' | 'minor' | 'moderate' | 'major' | 'indefinite';
1580
1580
 
@@ -4347,25 +4347,25 @@ export declare type SectionProps = {
4347
4347
  * @group Route
4348
4348
  */
4349
4349
  export declare type SectionsProps = {
4350
- leg: LegSectionProps[];
4350
+ carpool?: SectionProps[];
4351
4351
  carTrain?: SectionProps[];
4352
+ country?: CountrySectionProps[];
4352
4353
  ferry?: SectionProps[];
4354
+ importantRoadStretch?: ImportantRoadStretchProps[];
4355
+ lanes?: LaneSectionProps[];
4356
+ leg: LegSectionProps[];
4357
+ lowEmissionZone?: SectionProps[];
4353
4358
  motorway?: SectionProps[];
4354
4359
  pedestrian?: SectionProps[];
4360
+ roadShields?: RoadShieldSectionProps[];
4361
+ speedLimit?: SpeedLimitSectionProps[];
4355
4362
  toll?: SectionProps[];
4356
4363
  tollVignette?: CountrySectionProps[];
4357
- country?: CountrySectionProps[];
4358
4364
  traffic?: TrafficSectionProps[];
4359
- vehicleRestricted?: SectionProps[];
4360
4365
  tunnel?: SectionProps[];
4361
4366
  unpaved?: SectionProps[];
4362
4367
  urban?: SectionProps[];
4363
- carpool?: SectionProps[];
4364
- lowEmissionZone?: SectionProps[];
4365
- lanes?: LaneSectionProps[];
4366
- roadShields?: RoadShieldSectionProps[];
4367
- speedLimit?: SpeedLimitSectionProps[];
4368
- importantRoadStretch?: ImportantRoadStretchProps[];
4368
+ vehicleRestricted?: SectionProps[];
4369
4369
  };
4370
4370
 
4371
4371
  /**
@@ -4766,31 +4766,33 @@ export declare const toPointGeometry: (coordinates: Position) => Point;
4766
4766
 
4767
4767
  /**
4768
4768
  * All possible traffic incident categories.
4769
- * @group Route
4769
+ * @group Traffic
4770
4770
  */
4771
- export declare const trafficCategories: readonly ["jam", "accident", "roadworks", "road-closed", "narrow-lanes", "danger", "animals-on-road", "broken-down-vehicle", "lane-closed", "wind", "fog", "rain", "frost", "flooding", "other"];
4771
+ export declare const trafficIncidentCategories: readonly ["accident", "animals-on-road", "broken-down-vehicle", "danger", "flooding", "fog", "frost", "jam", "lane-closed", "narrow-lanes", "other", "rain", "road-closed", "roadworks", "wind"];
4772
4772
 
4773
4773
  /**
4774
4774
  * Simple category classification for traffic incidents.
4775
4775
  *
4776
4776
  * @remarks
4777
- * - `jam`: Traffic congestion or slow-moving traffic
4778
4777
  * - `accident`: Traffic accident or collision
4779
- * - `roadworks`: Construction or maintenance work
4780
- * - `road-closed`: Road is closed or blocked
4781
- * - `danger`: Dangerous situation on the road
4778
+ * - `animals-on-road`: Animals present on the road
4782
4779
  * - `broken-down-vehicle`: Vehicle breakdown causing obstruction
4783
- * - `lane-closed`: One or more lanes closed
4784
- * - `wind`: Strong wind conditions affecting traffic
4780
+ * - `danger`: Dangerous situation on the road
4781
+ * - `flooding`: Flooded road section
4785
4782
  * - `fog`: Fog reducing visibility
4786
- * - `rain`: Heavy rain affecting driving conditions
4787
4783
  * - `frost`: Frost or ice on the road
4788
- * - `flooding`: Flooded road section
4784
+ * - `jam`: Traffic congestion or slow-moving traffic
4785
+ * - `lane-closed`: One or more lanes closed
4786
+ * - `narrow-lanes`: Lane narrowing reducing road capacity
4789
4787
  * - `other`: Other types of incidents
4788
+ * - `rain`: Heavy rain affecting driving conditions
4789
+ * - `road-closed`: Road is closed or blocked
4790
+ * - `roadworks`: Construction or maintenance work
4791
+ * - `wind`: Strong wind conditions affecting traffic
4790
4792
  *
4791
- * @group Route
4793
+ * @group Traffic
4792
4794
  */
4793
- export declare type TrafficCategory = (typeof trafficCategories)[number];
4795
+ export declare type TrafficIncidentCategory = (typeof trafficIncidentCategories)[number];
4794
4796
 
4795
4797
  /**
4796
4798
  * Traffic incident information based on TPEG2-TEC standard.
@@ -4841,7 +4843,7 @@ export declare type TrafficSectionProps = SectionProps & {
4841
4843
  /**
4842
4844
  * Categories of the incident. Based on the 'tec' cause codes.
4843
4845
  */
4844
- categories: TrafficCategory[];
4846
+ categories: TrafficIncidentCategory[];
4845
4847
  /**
4846
4848
  * Severity level of the delay caused by this incident.
4847
4849
  */