becomap 1.6.9 → 1.6.92
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/becomap.js +1 -1
- package/lib/index.d.ts +3 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -993,8 +993,10 @@ export interface BCMapView {
|
|
|
993
993
|
* Searches for locations matching the provided search string.
|
|
994
994
|
* @param searchString - The string to search for.
|
|
995
995
|
* @param callback - A callback function to handle the search results.
|
|
996
|
+
* @param floorId - Optional. The floor ID to prioritize in results. Locations on this floor will appear first.
|
|
997
|
+
* @param referenceLocationId - Optional. The ID of a reference location to calculate distances from. Results will be sorted by distance from this location.
|
|
996
998
|
*/
|
|
997
|
-
searchForLocations(searchString: string, callback: (matches: BCLocation[]) => void): void;
|
|
999
|
+
searchForLocations(searchString: string, callback: (matches: BCLocation[]) => void, floorId?: string, referenceLocationId?: string): void;
|
|
998
1000
|
/**
|
|
999
1001
|
* Searches for categories matching the provided search string.
|
|
1000
1002
|
* @param searchString - The string to search for.
|