@tomtom-org/maps-sdk 0.37.0 → 0.38.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.
@@ -1841,6 +1841,7 @@ export declare type EVChargingStationPlaceProps = Omit<CommonPlaceProps, 'chargi
1841
1841
  export declare interface FeatureCollectionWithProperties<G extends Geometry | null = Geometry, P = GeoJsonProperties, FeatureCollectionProps = unknown> extends Omit<FeatureCollection<G, P>, 'bbox'> {
1842
1842
  /**
1843
1843
  * Optional bounding box that contains all features in the collection, including their bounding boxes, if any.
1844
+ * * Only included if any features are present.
1844
1845
  */
1845
1846
  bbox?: BBox;
1846
1847
  /**
@@ -3265,13 +3266,17 @@ export declare type PlaceDataSources = {
3265
3266
  *
3266
3267
  * @group Place
3267
3268
  */
3268
- export declare type Places<P extends CommonPlaceProps = CommonPlaceProps, FeatureCollectionProps = unknown> = Omit<FeatureCollectionWithProperties<Point, P, FeatureCollectionProps>, 'features'> & {
3269
+ export declare type Places<P extends CommonPlaceProps = CommonPlaceProps, FeatureCollectionProps = unknown> = Omit<FeatureCollectionWithProperties<Point, P, FeatureCollectionProps>, 'features' | 'bbox'> & {
3269
3270
  /**
3270
3271
  * Array of place features.
3271
- *
3272
- * Each place has a required string ID.
3272
+ * * Each place has a required string ID.
3273
3273
  */
3274
3274
  features: Place<P>[];
3275
+ /**
3276
+ * Bounding box that contains all the places, including their bounding boxes.
3277
+ * * Only included if any places are present.
3278
+ */
3279
+ bbox?: BBox;
3275
3280
  };
3276
3281
 
3277
3282
  /**
@@ -3507,7 +3512,12 @@ export declare const poiIDsToCategories: Record<number, POICategory>;
3507
3512
  *
3508
3513
  * @group Shared
3509
3514
  */
3510
- export declare type PolygonFeature<P = GeoJsonProperties> = Feature<Polygon | MultiPolygon, P>;
3515
+ export declare type PolygonFeature<P = GeoJsonProperties> = Omit<Feature<Polygon | MultiPolygon, P>, 'bbox'> & {
3516
+ /**
3517
+ * Bounding box that contains the feature's geometry.
3518
+ */
3519
+ bbox: BBox;
3520
+ };
3511
3521
 
3512
3522
  /**
3513
3523
  * GeoJSON FeatureCollection containing polygon or multi-polygon features.
@@ -3540,7 +3550,17 @@ export declare type PolygonFeature<P = GeoJsonProperties> = Feature<Polygon | Mu
3540
3550
  *
3541
3551
  * @group Shared
3542
3552
  */
3543
- export declare type PolygonFeatures<P = GeoJsonProperties> = FeatureCollection<Polygon | MultiPolygon, P>;
3553
+ export declare type PolygonFeatures<P = GeoJsonProperties> = Omit<FeatureCollection<Polygon | MultiPolygon, P>, 'features' | 'bbox'> & {
3554
+ /**
3555
+ * Array of polygon or multi-polygon features.
3556
+ */
3557
+ features: PolygonFeature<P>[];
3558
+ /**
3559
+ * Bounding box that contains all features in the collection, including their bounding boxes, if any.
3560
+ * * Only included if any features present.
3561
+ */
3562
+ bbox?: BBox;
3563
+ };
3544
3564
 
3545
3565
  /**
3546
3566
  * Possible directions a lane can lead to.
@@ -3742,7 +3762,7 @@ export declare type Route<P extends RouteProps = RouteProps> = Omit<Feature<Line
3742
3762
  /**
3743
3763
  * Bounding box that contains the entire route or at least its waypoints.
3744
3764
  */
3745
- bbox?: BBox;
3765
+ bbox: BBox;
3746
3766
  };
3747
3767
 
3748
3768
  /**
@@ -3924,7 +3944,7 @@ export declare type Routes<P extends RouteProps = RouteProps, FeatureCollectionP
3924
3944
  */
3925
3945
  features: Route<P>[];
3926
3946
  /**
3927
- * Bounding box that contains all the routes or at least their waypoints.
3947
+ * Bounding box that contains all the routes or at least their waypoints. Only defined if routes are present.
3928
3948
  */
3929
3949
  bbox?: BBox;
3930
3950
  };
@@ -1,5 +1,5 @@
1
1
  Name: lodash-es
2
- Version: 4.17.21
2
+ Version: 4.17.22
3
3
  License: MIT
4
4
  Private: false
5
5
  Description: Lodash exported as ES modules.
@@ -173,11 +173,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
173
173
  ---
174
174
 
175
175
  Name: maplibre-gl
176
- Version: 5.14.0
176
+ Version: 5.15.0
177
177
  License: BSD-3-Clause
178
178
  Private: false
179
179
  Description: BSD licensed community fork of mapbox-gl, a WebGL interactive maps library
180
- Repository: git://github.com/maplibre/maplibre-gl-js.git
180
+ Repository: https://github.com/maplibre/maplibre-gl-js
181
181
  Homepage: https://maplibre.org/
182
182
  License Copyright:
183
183
  ===