becomap 1.5.72 → 1.5.73

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.
package/lib/index.d.ts CHANGED
@@ -397,6 +397,12 @@ export interface BCLocation {
397
397
  */
398
398
  get amenity(): BCSiteAmenity;
399
399
  /**
400
+ * The area of the location.
401
+ *
402
+ * @returns The area of the location as a string.
403
+ */
404
+ get area(): string | null;
405
+ /**
400
406
  * Stores phone numbers associated with the location, where the key represents the type of phone number.
401
407
  *
402
408
  * @returns A record of phone numbers keyed by type (e.g., {"main": "123-456-7890"}).
@@ -633,16 +639,6 @@ export interface BCRouteController {
633
639
  * @param orderIndex - The order index of the step to display.
634
640
  */
635
641
  showStepByOrderIndex(orderIndex: number): void;
636
- /**
637
- * Shows a specific route segment by its orderIndex.
638
- * @param orderIndex - The order index of the segment to display.
639
- */
640
- showSegmentByOrderIndex(orderIndex: number): void;
641
- /**
642
- * Gets the currently stored route segments.
643
- * @returns Array of BCRouteSegment objects or null if no segments are stored.
644
- */
645
- get segments(): BCRouteSegment[] | null;
646
642
  /**
647
643
  * Clears the current route from the map by removing the route layer or data from the map view.
648
644
  * It relies on the routeController to manage route layers or data.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "becomap",
3
- "version": "1.5.72",
3
+ "version": "1.5.73",
4
4
  "description": "we lib to display becomap",
5
5
  "main": "lib/becomap.js",
6
6
  "module": "lib/becomap.js",