@tomtom-org/maps-sdk 0.46.1 → 0.46.3

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.
@@ -2755,28 +2755,28 @@ export declare type HasCount = {
2755
2755
  /**
2756
2756
  * Input type representing a geographic point location.
2757
2757
  *
2758
- * Accepts various formats for specifying a point location:
2759
- * - `Position`: Raw coordinate array `[longitude, latitude]`
2760
- * - `Point`: GeoJSON Point geometry
2761
- * - `Feature<Point>`: GeoJSON Feature containing a Point geometry
2758
+ * Accepted forms:
2759
+ * - `[longitude, latitude]` — plain coordinate pair (GeoJSON `Position`)
2760
+ * - `Point` GeoJSON Point geometry object
2761
+ * - `Feature<Point>` GeoJSON Feature wrapping a Point; {@link Place} satisfies this directly
2762
2762
  *
2763
2763
  * @remarks
2764
- * Note: Coordinates follow GeoJSON standard with longitude first, then latitude: `[lng, lat]`
2764
+ * Coordinates always follow the GeoJSON convention: **longitude first, then latitude**.
2765
+ *
2766
+ * Because {@link Place} is a `Feature<Point>`, any search result can be passed
2767
+ * wherever `HasLngLat` is accepted — for example as a `position` bias on a
2768
+ * follow-up search, or as a route waypoint.
2765
2769
  *
2766
2770
  * @example
2767
2771
  * ```typescript
2768
- * // As Position array
2772
+ * // Plain coordinate pair
2769
2773
  * const pos1: HasLngLat = [4.9041, 52.3676];
2770
2774
  *
2771
- * // As Point geometry
2775
+ * // GeoJSON Point geometry
2772
2776
  * const pos2: HasLngLat = { type: 'Point', coordinates: [4.9041, 52.3676] };
2773
2777
  *
2774
- * // As Feature
2775
- * const pos3: HasLngLat = {
2776
- * type: 'Feature',
2777
- * geometry: { type: 'Point', coordinates: [4.9041, 52.3676] },
2778
- * properties: {}
2779
- * };
2778
+ * // GeoJSON Feature<Point> — e.g. a Place from search results
2779
+ * const pos3: HasLngLat = searchResults.features[0];
2780
2780
  * ```
2781
2781
  *
2782
2782
  * @group Shared