@tomtom-org/maps-sdk 0.52.0 → 0.54.0

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.
@@ -2554,6 +2554,20 @@ type Maneuver = 'DEPART' | 'WAYPOINT_LEFT' | 'WAYPOINT_RIGHT' | 'WAYPOINT_REACHE
2554
2554
  * @group Route
2555
2555
  */
2556
2556
  type SideRoadSide = 'LEFT' | 'RIGHT' | 'LEFT_AND_RIGHT';
2557
+ /**
2558
+ * A direction relative to the vehicle's approach, used by {@link ManeuverView} to describe the
2559
+ * junction geometry at a maneuver.
2560
+ *
2561
+ * These are relative directions, not angles in degrees — the API reports the road layout as a
2562
+ * small vocabulary of bearings.
2563
+ * @group Route
2564
+ */
2565
+ type ManeuverAngle = 'STRAIGHT' | 'SLIGHT_RIGHT' | 'RIGHT' | 'SHARP_RIGHT' | 'SLIGHT_LEFT' | 'LEFT' | 'SHARP_LEFT' | 'BACK';
2566
+ /**
2567
+ * The kind of roundabout a roundabout maneuver takes place on.
2568
+ * @group Route
2569
+ */
2570
+ type RoundaboutType = 'REGULAR' | 'SMALL';
2557
2571
  /**
2558
2572
  * Available toll payment options.
2559
2573
  * @group Route
@@ -2564,6 +2578,9 @@ type TollPaymentType = 'CASH_COINS_AND_BILLS' | 'CASH_BILLS_ONLY' | 'CASH_COINS_
2564
2578
  * @group Route
2565
2579
  */
2566
2580
  type RoutePathPoint = {
2581
+ /**
2582
+ * The position of this point on the route.
2583
+ */
2567
2584
  point: Position;
2568
2585
  /**
2569
2586
  * Distance (in meters) from the start of the route to this point.
@@ -2655,6 +2672,10 @@ type RoadInformation = {
2655
2672
  * The list can be empty if no road shields are available.
2656
2673
  */
2657
2674
  roadShields?: RoadShield[];
2675
+ /**
2676
+ * The code (ISO 3166-1 alpha-3) of the country this road is in.
2677
+ */
2678
+ countryCode?: string;
2658
2679
  };
2659
2680
  /**
2660
2681
  * Signpost information.
@@ -2690,6 +2711,39 @@ type SideRoad = {
2690
2711
  * The offset is absolute, i.e., it is a positive integer despite that the side road is located before the maneuver on the route.
2691
2712
  */
2692
2713
  offsetFromManeuverInMeters: number;
2714
+ /**
2715
+ * Whether the side road can actually be driven into.
2716
+ *
2717
+ * A non-drivable side road still matters for a junction diagram — the driver can see it — but
2718
+ * cannot be taken by mistake.
2719
+ */
2720
+ isDrivable?: boolean;
2721
+ };
2722
+ /**
2723
+ * The layout of the junction at a maneuver: which way the route goes, and which other ways lead
2724
+ * off it.
2725
+ *
2726
+ * Useful for drawing a junction diagram — the route's own direction plus the roads it passes up.
2727
+ *
2728
+ * @example
2729
+ * ```typescript
2730
+ * // A right turn at a T-junction where the other arm continues straight
2731
+ * const view: ManeuverView = { onRouteAngle: 'RIGHT', offRouteAngles: ['STRAIGHT'] };
2732
+ * ```
2733
+ *
2734
+ * @group Route
2735
+ */
2736
+ type ManeuverView = {
2737
+ /**
2738
+ * The direction the route takes through the junction.
2739
+ */
2740
+ onRouteAngle?: ManeuverAngle;
2741
+ /**
2742
+ * The directions of the other roads at the junction, which the route does not take.
2743
+ *
2744
+ * Empty when the junction has no other arms.
2745
+ */
2746
+ offRouteAngles: ManeuverAngle[];
2693
2747
  };
2694
2748
  /**
2695
2749
  * A set of attributes describing a maneuver, e.g., "Turn right", "Keep left", "Take the ferry", "Take the motorway", "Arrive".
@@ -2713,6 +2767,13 @@ type Instruction = {
2713
2767
  * A code identifying the maneuver (e.g., "Turn right").
2714
2768
  */
2715
2769
  maneuver: Maneuver;
2770
+ /**
2771
+ * The ready-made, human-readable instruction text, e.g. "Turn right onto Damrak".
2772
+ *
2773
+ * Generated and localised by the routing service using the request's language, so it needs no
2774
+ * translation table of your own. Present on every instruction when guidance was requested.
2775
+ */
2776
+ message?: string;
2716
2777
  /**
2717
2778
  * A maneuver can occupy more than one point. For such a maneuver, this field will contain a sequence of all the points it occupies on the map.
2718
2779
  * For maneuvers that only occupy a single point, this field will contain a single array item, with a point value equal to maneuverPoint.
@@ -2836,6 +2897,16 @@ type Instruction = {
2836
2897
  * ROUNDABOUT_BACK
2837
2898
  */
2838
2899
  roundaboutExitNumber?: number;
2900
+ /**
2901
+ * The kind of roundabout this maneuver takes place on.
2902
+ * Included on roundabout maneuvers.
2903
+ */
2904
+ roundaboutType?: RoundaboutType;
2905
+ /**
2906
+ * The layout of the junction at this maneuver — the route's own direction plus the directions
2907
+ * of the roads it does not take.
2908
+ */
2909
+ maneuverView?: ManeuverView;
2839
2910
  /**
2840
2911
  * The name of the tollgate, if available.
2841
2912
  * Included if the maneuver is a tollgate maneuver, i.e., maneuver is TOLLGATE.
@@ -3170,13 +3241,27 @@ export type Routes<P extends RouteProps = RouteProps, FeatureCollectionProps = u
3170
3241
  /**
3171
3242
  * Properties specific to route waypoints.
3172
3243
  *
3173
- * @remarks
3174
- * Carries no properties of its own today. A waypoint's own `properties` are merged into it, so
3175
- * anything you attach to a waypoint Feature survives the round trip.
3176
- *
3177
3244
  * @group Route
3178
3245
  */
3179
- type WaypointProps = {};
3246
+ type WaypointProps = {
3247
+ /**
3248
+ * How long the vehicle waits at this stop, in seconds.
3249
+ *
3250
+ * When specified, the routing service adds the wait to the leg arriving at this waypoint, and
3251
+ * the map shows it on the stop's pin.
3252
+ *
3253
+ * @remarks
3254
+ * - The wait counts towards the route's `travelTimeInSeconds`, not only its arrival time
3255
+ * - Not supported on the destination: the routing service requires the last leg's wait to be 0
3256
+ *
3257
+ * @example
3258
+ * ```typescript
3259
+ * // Wait 30 minutes at this stop
3260
+ * { pauseDurationSeconds: 30 * 60 }
3261
+ * ```
3262
+ */
3263
+ pauseDurationSeconds?: number;
3264
+ };
3180
3265
  /**
3181
3266
  * GeoJSON Feature representing a route waypoint.
3182
3267
  *
@@ -3817,6 +3902,34 @@ type RouteSummary = SummaryWithConsumption & {
3817
3902
  * @group Route
3818
3903
  */
3819
3904
  type LegSummary = SummaryWithConsumption & {
3905
+ /**
3906
+ * Time in seconds the vehicle stands still at the stop this leg arrives at.
3907
+ *
3908
+ * @remarks
3909
+ * One number for the whole stop, whatever it is spent on — a
3910
+ * {@link WaypointProps.pauseDurationSeconds} the caller asked for, charging the routing service
3911
+ * planned on an EV route, or both at one stop. It is what the service actually planned rather
3912
+ * than an echo of the request: the gap between this leg's `arrivalTime` and the next leg's
3913
+ * `departureTime`.
3914
+ *
3915
+ * For the breakdown, {@link LegSummary.chargingInformationAtEndOfLeg} carries the charging part;
3916
+ * whatever is left is waiting.
3917
+ *
3918
+ * - Absent when the vehicle does not stop at the end of this leg
3919
+ * - Absent on the last leg, which has no following departure — and the routing service does not
3920
+ * accept a wait at the destination anyway
3921
+ * - This leg's own `travelTimeInSeconds` is driving only and *excludes* the stop, while the
3922
+ * route's total *includes* every stop. So driving time is the sum of the legs, and the time
3923
+ * spent standing still is the difference.
3924
+ *
3925
+ * @example
3926
+ * ```typescript
3927
+ * // Half an hour at this stop, twenty minutes of it charging
3928
+ * stopTimeInSeconds: 1800
3929
+ * chargingInformationAtEndOfLeg: { properties: { chargingTimeInSeconds: 1200 } }
3930
+ * ```
3931
+ */
3932
+ stopTimeInSeconds?: number;
3820
3933
  /**
3821
3934
  * Charging information at the end of this leg.
3822
3935
  *
@@ -4022,6 +4135,13 @@ export type TrafficSectionProps = SectionProps & {
4022
4135
  * Extra time compared to free-flow conditions. Present when delay can be calculated.
4023
4136
  */
4024
4137
  delayInSeconds?: number;
4138
+ /**
4139
+ * The identifier of the traffic incident behind this section.
4140
+ *
4141
+ * This is the join key back to the full incident: pass it to the traffic incident details
4142
+ * service to get the whole record, rather than re-deriving it from the section's geometry.
4143
+ */
4144
+ eventId?: string;
4025
4145
  };
4026
4146
  /**
4027
4147
  * Route section representing a leg between waypoints.
@@ -4066,6 +4186,25 @@ export type LegSectionProps = Omit<SectionProps, 'startPointIndex' | 'endPointIn
4066
4186
  * Only present if the route polyline geometry is available.
4067
4187
  */
4068
4188
  endPointIndex?: number;
4189
+ /**
4190
+ * Index, in the `locations` the route was requested with, of the waypoint this leg ends at.
4191
+ *
4192
+ * @remarks
4193
+ * A leg does not always end at the location with the same index: on an EV route the service
4194
+ * inserts charging stops of its own, so `legs[i]` is not reliably the leg arriving at
4195
+ * `locations[i + 1]`. This is the index that maps a leg back to the stop the caller passed.
4196
+ *
4197
+ * Absent on the final leg, and on legs that end somewhere the caller did not ask for — an
4198
+ * inserted charging stop, for instance.
4199
+ *
4200
+ * @example
4201
+ * ```typescript
4202
+ * // Which of the stops I passed does this leg arrive at?
4203
+ * const index = leg.originalWaypointIndex;
4204
+ * const stop = index === undefined ? undefined : locations[index];
4205
+ * ```
4206
+ */
4207
+ originalWaypointIndex?: number;
4069
4208
  /**
4070
4209
  * Summary statistics for this leg.
4071
4210
  *
@@ -4168,28 +4307,73 @@ export type RoadShieldSectionProps = SectionProps & {
4168
4307
  * @group Route
4169
4308
  */
4170
4309
  export type SectionsProps = {
4310
+ /** Stretches reserved for carpool (high-occupancy) vehicles. */
4171
4311
  carpool?: SectionProps[];
4312
+ /** Stretches travelled on a car train, where the vehicle is carried by rail. */
4172
4313
  carTrain?: SectionProps[];
4314
+ /** One section per country the route passes through, each naming that country. */
4173
4315
  country?: CountrySectionProps[];
4316
+ /** Stretches travelled by ferry. */
4174
4317
  ferry?: SectionProps[];
4318
+ /** Stretches whose street name or road numbers identify the course of the route. */
4175
4319
  importantRoadStretch?: ImportantRoadStretchProps[];
4176
4320
  /** Lane configuration sections. Guidance-only: present solely when `guidance` was requested. */
4177
4321
  lanes?: LaneSectionProps[];
4322
+ /** One section per leg of the route. Always present: every route has at least one leg. */
4178
4323
  leg: LegSectionProps[];
4324
+ /** Stretches inside a low-emission zone, which a vehicle may need to qualify to enter. */
4179
4325
  lowEmissionZone?: SectionProps[];
4326
+ /** Stretches on a motorway. */
4180
4327
  motorway?: SectionProps[];
4328
+ /** Stretches travelled on foot. */
4181
4329
  pedestrian?: SectionProps[];
4330
+ /** Stretches carrying road shields, for rendering route numbers along the route. */
4182
4331
  roadShields?: RoadShieldSectionProps[];
4332
+ /** Stretches with a known maximum speed limit. */
4183
4333
  speedLimit?: SpeedLimitSectionProps[];
4334
+ /**
4335
+ * Stretches where a per-use road toll is charged — a ticket or barrier motorway, or a
4336
+ * free-flow tolling point.
4337
+ *
4338
+ * @remarks
4339
+ * A subset of {@link SectionsProps.tollRoad | `tollRoad`}: every stretch reported here is also
4340
+ * reported there. Use `toll` for "will this route cost a toll to drive", and `tollRoad` for
4341
+ * "does this route cost anything at all to drive" — the latter also covers vignette-only
4342
+ * motorways and urban charge zones, which carry no per-use toll.
4343
+ *
4344
+ * Requested with `sectionTypes: ['toll']`.
4345
+ */
4184
4346
  toll?: SectionProps[];
4347
+ /**
4348
+ * Stretches that cost money to drive, by any charging scheme: per-use tolls, motorways that
4349
+ * need a vignette, and urban road-charge zones.
4350
+ *
4351
+ * @remarks
4352
+ * A superset of {@link SectionsProps.toll | `toll`}. On a ticket motorway the two report the
4353
+ * same stretches; a vignette-only motorway or a city charge zone appears here and not in
4354
+ * `toll`.
4355
+ *
4356
+ * Included by default: leaving `sectionTypes` unset requests it, and a `sectionTypes` list has
4357
+ * to name `'tollRoad'` to keep it.
4358
+ */
4359
+ tollRoad?: SectionProps[];
4360
+ /**
4361
+ * Stretches needing a vignette, one section per country requiring one.
4362
+ */
4185
4363
  tollVignette?: CountrySectionProps[];
4364
+ /** Stretches affected by a traffic incident, with its delay and cause. */
4186
4365
  traffic?: TrafficSectionProps[];
4366
+ /** Stretches inside a tunnel. */
4187
4367
  tunnel?: SectionProps[];
4368
+ /** Stretches on an unpaved road. */
4188
4369
  unpaved?: SectionProps[];
4370
+ /** Stretches on urban roads. */
4189
4371
  urban?: SectionProps[];
4372
+ /** Stretches the requested vehicle is not permitted to use. */
4190
4373
  vehicleRestricted?: SectionProps[];
4191
4374
  };
4192
4375
  /**
4376
+ * The name of one route section type — a key of {@link SectionsProps}.
4193
4377
  * @group Route
4194
4378
  */
4195
4379
  export type SectionType = keyof SectionsProps;
@@ -5685,4 +5869,4 @@ export declare const mergeFromGlobal: <T extends Partial<GlobalConfig>>(givenCon
5685
5869
  */
5686
5870
  export declare const isProxyCredentialsMode: (config?: Partial<Pick<GlobalConfig, "apiKey" | "commonBaseURL">>) => boolean;
5687
5871
  //#endregion
5688
- export type { Anything, BBox, ChargingAvailabilityDataSource, ChargingPark, ChargingParkWithAvailability, ChargingPointAvailability, ChargingStationsAvailability, CombustionSummary, ConnectorAvailability, ConnectorCount, DrivingSide, EVChargingStationWithAvailabilityPlaceProps, ElectricSummary, FeatureCollectionWithProperties, Fuel, GeometryDataSource, GetPositionEntryPointOption, GetPositionOptions, Guidance, HasBBox, HasConnector, HasCount, HasLngLat, Instruction, Landmark, Language, LegSummary, Maneuver, Moment, OpeningHours, OpeningHoursMode, OptionalBBox, POI, PathLike, PlaceDataSources, PoiDetailsDataSource, PolygonFeature, PolygonFeatures, RelatedPOI, RoadInformation, RoadInformationProperty, RoadShield, RoadShieldReference, RoutePathPoint, RoutePlanningLocation, RoutePlanningLocationType, RouteSummary, SideRoad, SideRoadSide, Signpost, SummaryBase, SummaryWithConsumption, TextWithPhonetics, TimeRange, TimeZone, TollPaymentType, TomTomAPIHeaders, TomTomHeaders, Waypoint, WaypointLike, WaypointProps, Waypoints, languages };
5872
+ export type { Anything, BBox, ChargingAvailabilityDataSource, ChargingPark, ChargingParkWithAvailability, ChargingPointAvailability, ChargingStationsAvailability, CombustionSummary, ConnectorAvailability, ConnectorCount, DrivingSide, EVChargingStationWithAvailabilityPlaceProps, ElectricSummary, FeatureCollectionWithProperties, Fuel, GeometryDataSource, GetPositionEntryPointOption, GetPositionOptions, Guidance, HasBBox, HasConnector, HasCount, HasLngLat, Instruction, Landmark, Language, LegSummary, Maneuver, ManeuverAngle, ManeuverView, Moment, OpeningHours, OpeningHoursMode, OptionalBBox, POI, PathLike, PlaceDataSources, PoiDetailsDataSource, PolygonFeature, PolygonFeatures, RelatedPOI, RoadInformation, RoadInformationProperty, RoadShield, RoadShieldReference, RoundaboutType, RoutePathPoint, RoutePlanningLocation, RoutePlanningLocationType, RouteSummary, SideRoad, SideRoadSide, Signpost, SummaryBase, SummaryWithConsumption, TextWithPhonetics, TimeRange, TimeZone, TollPaymentType, TomTomAPIHeaders, TomTomHeaders, Waypoint, WaypointLike, WaypointProps, Waypoints, languages };
@@ -0,0 +1,28 @@
1
+ [
2
+ {
3
+ "name": "@turf/turf",
4
+ "version": "7.4.0",
5
+ "license": "MIT",
6
+ "bundled": false,
7
+ "description": "a JavaScript library for performing geospatial operations with GeoJSON",
8
+ "repository": "git://github.com/Turfjs/turf.git",
9
+ "homepage": "https://github.com/Turfjs/turf",
10
+ "author": "Turf Authors",
11
+ "licenseText": "The MIT License (MIT)\n\nCopyright (c) 2017 TurfJS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
12
+ },
13
+ {
14
+ "name": "lodash-es",
15
+ "version": "4.18.1",
16
+ "license": "MIT",
17
+ "bundled": false,
18
+ "description": "Lodash exported as ES modules.",
19
+ "repository": "lodash/lodash",
20
+ "homepage": "https://lodash.com/custom-builds",
21
+ "author": "John-David Dalton <john.david.dalton@gmail.com>",
22
+ "contributors": [
23
+ "John-David Dalton <john.david.dalton@gmail.com>",
24
+ "Mathias Bynens <mathias@qiwi.be>"
25
+ ],
26
+ "licenseText": "Copyright OpenJS Foundation and other contributors <https://openjsf.org/>\n\nBased on Underscore.js, copyright Jeremy Ashkenas,\nDocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>\n\nThis software consists of voluntary contributions made by many\nindividuals. For exact contribution history, see the revision history\navailable at https://github.com/lodash/lodash\n\nThe following license applies to all parts of this software except as\ndocumented below:\n\n====\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n====\n\nCopyright and related rights for sample code are waived via CC0. Sample\ncode is defined as all source code displayed within the prose of the\ndocumentation.\n\nCC0: http://creativecommons.org/publicdomain/zero/1.0/\n\n====\n\nFiles located in the node_modules and vendor directories are externally\nmaintained libraries used by this software which have their own\nlicenses; we recommend you read them, as their terms may differ from the\nterms above."
27
+ }
28
+ ]
@@ -1 +1,231 @@
1
- No third parties dependencies
1
+ The following third-party components are declared as peer dependencies. Their code is
2
+ NOT bundled into this package: your package manager installs them alongside it and
3
+ your application bundles them. The licenses below apply to those copies, and each of
4
+ these components may in turn install its own dependencies under their own licenses.
5
+
6
+ Name: @turf/turf
7
+ Version: 7.4.0
8
+ License: MIT
9
+ Bundled: false (peer dependency)
10
+ Description: a JavaScript library for performing geospatial operations with GeoJSON
11
+ Repository: git://github.com/Turfjs/turf.git
12
+ Homepage: https://github.com/Turfjs/turf
13
+ Author: Turf Authors
14
+ License Text:
15
+ ===
16
+
17
+ The MIT License (MIT)
18
+
19
+ Copyright (c) 2017 TurfJS
20
+
21
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
22
+ this software and associated documentation files (the "Software"), to deal in
23
+ the Software without restriction, including without limitation the rights to
24
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
25
+ the Software, and to permit persons to whom the Software is furnished to do so,
26
+ subject to the following conditions:
27
+
28
+ The above copyright notice and this permission notice shall be included in all
29
+ copies or substantial portions of the Software.
30
+
31
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
32
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
33
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
34
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
35
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
36
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37
+
38
+
39
+ ---
40
+
41
+ Name: lodash-es
42
+ Version: 4.18.1
43
+ License: MIT
44
+ Bundled: false (peer dependency)
45
+ Description: Lodash exported as ES modules.
46
+ Repository: lodash/lodash
47
+ Homepage: https://lodash.com/custom-builds
48
+ Author: John-David Dalton <john.david.dalton@gmail.com>
49
+ Contributors:
50
+ John-David Dalton <john.david.dalton@gmail.com>
51
+ Mathias Bynens <mathias@qiwi.be>
52
+ License Text:
53
+ ===
54
+
55
+ Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
56
+
57
+ Based on Underscore.js, copyright Jeremy Ashkenas,
58
+ DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
59
+
60
+ This software consists of voluntary contributions made by many
61
+ individuals. For exact contribution history, see the revision history
62
+ available at https://github.com/lodash/lodash
63
+
64
+ The following license applies to all parts of this software except as
65
+ documented below:
66
+
67
+ ====
68
+
69
+ Permission is hereby granted, free of charge, to any person obtaining
70
+ a copy of this software and associated documentation files (the
71
+ "Software"), to deal in the Software without restriction, including
72
+ without limitation the rights to use, copy, modify, merge, publish,
73
+ distribute, sublicense, and/or sell copies of the Software, and to
74
+ permit persons to whom the Software is furnished to do so, subject to
75
+ the following conditions:
76
+
77
+ The above copyright notice and this permission notice shall be
78
+ included in all copies or substantial portions of the Software.
79
+
80
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
81
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
82
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
83
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
84
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
85
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
86
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
87
+
88
+ ====
89
+
90
+ Copyright and related rights for sample code are waived via CC0. Sample
91
+ code is defined as all source code displayed within the prose of the
92
+ documentation.
93
+
94
+ CC0: http://creativecommons.org/publicdomain/zero/1.0/
95
+
96
+ ====
97
+
98
+ Files located in the node_modules and vendor directories are externally
99
+ maintained libraries used by this software which have their own
100
+ licenses; we recommend you read them, as their terms may differ from the
101
+ terms above.
102
+
103
+
104
+ ---
105
+
106
+ Name: maplibre-gl
107
+ Version: 6.9.0
108
+ License: BSD-3-Clause
109
+ Bundled: false (peer dependency)
110
+ Description: BSD licensed community fork of mapbox-gl, a WebGL interactive maps library
111
+ Repository: https://github.com/maplibre/maplibre-gl-js
112
+ Homepage: https://maplibre.org/
113
+ License Text:
114
+ ===
115
+
116
+ Copyright (c) 2023, MapLibre contributors
117
+
118
+ All rights reserved.
119
+
120
+ Redistribution and use in source and binary forms, with or without modification,
121
+ are permitted provided that the following conditions are met:
122
+
123
+ * Redistributions of source code must retain the above copyright notice,
124
+ this list of conditions and the following disclaimer.
125
+ * Redistributions in binary form must reproduce the above copyright notice,
126
+ this list of conditions and the following disclaimer in the documentation
127
+ and/or other materials provided with the distribution.
128
+ * Neither the name of MapLibre GL JS nor the names of its contributors
129
+ may be used to endorse or promote products derived from this software
130
+ without specific prior written permission.
131
+
132
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
133
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
134
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
135
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
136
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
137
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
138
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
139
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
140
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
141
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
142
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
143
+
144
+
145
+ -------------------------------------------------------------------------------
146
+
147
+ Contains code from mapbox-gl-js v1.13 and earlier
148
+
149
+ Version v1.13 of mapbox-gl-js and earlier are licensed under a BSD-3-Clause license
150
+
151
+ Copyright (c) 2020, Mapbox
152
+ Redistribution and use in source and binary forms, with or without modification,
153
+ are permitted provided that the following conditions are met:
154
+
155
+ * Redistributions of source code must retain the above copyright notice,
156
+ this list of conditions and the following disclaimer.
157
+ * Redistributions in binary form must reproduce the above copyright notice,
158
+ this list of conditions and the following disclaimer in the documentation
159
+ and/or other materials provided with the distribution.
160
+ * Neither the name of Mapbox GL JS nor the names of its contributors
161
+ may be used to endorse or promote products derived from this software
162
+ without specific prior written permission.
163
+
164
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
165
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
166
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
167
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
168
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
169
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
170
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
171
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
172
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
173
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
174
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
175
+
176
+
177
+ -------------------------------------------------------------------------------
178
+
179
+ Contains code from glfx.js
180
+
181
+ Copyright (C) 2011 by Evan Wallace
182
+
183
+ Permission is hereby granted, free of charge, to any person obtaining a copy
184
+ of this software and associated documentation files (the "Software"), to deal
185
+ in the Software without restriction, including without limitation the rights
186
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
187
+ copies of the Software, and to permit persons to whom the Software is
188
+ furnished to do so, subject to the following conditions:
189
+
190
+ The above copyright notice and this permission notice shall be included in
191
+ all copies or substantial portions of the Software.
192
+
193
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
194
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
195
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
196
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
197
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
198
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
199
+ THE SOFTWARE.
200
+
201
+ --------------------------------------------------------------------------------
202
+
203
+ Contains a portion of d3-color https://github.com/d3/d3-color
204
+
205
+ Copyright 2010-2016 Mike Bostock
206
+ All rights reserved.
207
+
208
+ Redistribution and use in source and binary forms, with or without modification,
209
+ are permitted provided that the following conditions are met:
210
+
211
+ * Redistributions of source code must retain the above copyright notice, this
212
+ list of conditions and the following disclaimer.
213
+
214
+ * Redistributions in binary form must reproduce the above copyright notice,
215
+ this list of conditions and the following disclaimer in the documentation
216
+ and/or other materials provided with the distribution.
217
+
218
+ * Neither the name of the author nor the names of contributors may be used to
219
+ endorse or promote products derived from this software without specific prior
220
+ written permission.
221
+
222
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
223
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
224
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
225
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
226
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
227
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
228
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
229
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
230
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
231
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.