@mapxus/mapxus-map-jp 7.10.0 → 8.0.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.
package/es/index.d.ts CHANGED
@@ -3,23 +3,25 @@
3
3
  import { AxiosPromise } from 'axios';
4
4
  import { GeoJsonProperties, LineString, Point } from 'geojson';
5
5
  import maplibregl$1 from 'maplibre-gl';
6
- import { ControlPosition, FilterSpecification, IControl, LngLat, MapGeoJSONFeature, MapLayerEventType, PaddingOptions, PointLike, RequireAtLeastOne } from 'maplibre-gl';
6
+ import { ControlPosition, ExpressionSpecification, FilterSpecification, IControl, LngLat, MapGeoJSONFeature, MapLayerEventType, PaddingOptions, PointLike, RequireAtLeastOne } from 'maplibre-gl';
7
7
 
8
8
  /** @deprecated */
9
9
  export declare enum FloorSwitchMode {
10
10
  SWITCHED_BY_BUILDING = 0,
11
11
  SWITCHED_BY_VENUE = 1
12
12
  }
13
- /**
14
- * @deprecated Use enum `PresetLanguage` instead.
15
- */
16
- export type TPresetLanguage = "en" | "zh-Hans" | "zh-Hant" | "ja" | "ko";
17
13
  export declare enum PresetLanguage {
18
14
  ENGLISH = "en",
19
15
  CHINESE_SIMPLIFIED = "zh-Hans",
20
16
  CHINESE_TRADITIONAL = "zh-Hant",
21
17
  JAPANESE = "ja",
22
- KOREAN = "ko"
18
+ KOREAN = "ko",
19
+ FILIPINO = "fil",
20
+ INDONESIAN = "id",
21
+ PORTUGUESE = "pt",
22
+ THAI = "th",
23
+ VIETNAMESE = "vi",
24
+ ARABIC = "ar"
23
25
  }
24
26
  export declare enum ThemeType {
25
27
  CHRISTMAS = "christmas",
@@ -97,18 +99,6 @@ export interface IFloor {
97
99
  id: string | null;
98
100
  ordinal: string | null;
99
101
  }
100
- /**
101
- * @deprecated Use 'IFloorSelectorStyle' instead.
102
- */
103
- export interface IFloorsControlStyle {
104
- fontColor?: string;
105
- activeFontColor?: string;
106
- backgroundColor?: string;
107
- activeBackgroundColor?: string;
108
- itemSize?: number;
109
- itemCount?: number;
110
- defaultFolded?: boolean;
111
- }
112
102
  export interface IFloorSelectorStyle {
113
103
  fontColor?: string;
114
104
  activeFontColor?: string;
@@ -133,11 +123,7 @@ export interface IMapOption {
133
123
  map: maplibregl$1.Map;
134
124
  appId: string;
135
125
  secret: string;
136
- /** @deprecated Use 'floorSelectorEnabled' instead */
137
- enableFloorControl?: boolean;
138
126
  floorSelectorEnabled?: boolean;
139
- /** @deprecated Use 'buildingSelectorEnabled' instead */
140
- enableBuildingSelector?: boolean;
141
127
  buildingSelectorEnabled?: boolean;
142
128
  /**
143
129
  * @description 'venueId', 'buildingId', 'floorId', 'poiId' are mutually exclusive,
@@ -160,18 +146,10 @@ export interface IMapOption {
160
146
  * the priority is: poiId > floorId > buildingId > venueId.
161
147
  */
162
148
  poiId?: string;
163
- /**
164
- * @deprecated Use 'outdoorMapShown' instead.
165
- */
166
- hiddenOutdoor?: boolean;
167
149
  outdoorMapShown?: boolean;
168
150
  theme?: ThemeType | string;
169
151
  collapseCopyright?: boolean;
170
152
  selectedBuildingBorderStyle?: ISelectedBuildingBorderStyle;
171
- /**
172
- * @deprecated Use 'floorSelectorStyle' instead.
173
- */
174
- floorsControlStyle?: IFloorsControlStyle;
175
153
  floorSelectorStyle?: IFloorSelectorStyle;
176
154
  /**
177
155
  * @description Switch floors by venue/building, default by venue.
@@ -235,8 +213,6 @@ export interface IPoi {
235
213
  osmRefId: number;
236
214
  poiId: string;
237
215
  venueId: string;
238
- /** @deprecated 'description' will be removed soon */
239
- description?: string;
240
216
  descriptions?: IMultilingualName;
241
217
  email?: string;
242
218
  openingHours?: string;
@@ -345,33 +321,6 @@ export interface IPoiSearchByOrientationAndOrdinalOptions extends ISearchOrienta
345
321
  ordinal: string;
346
322
  }
347
323
  export type TPoiSearchByOrientationOptions = IPoiSearchByOrientationAndBuildingOptions | IPoiSearchByOrientationAndFloorOptions | IPoiSearchByOrientationAndOrdinalOptions;
348
- export interface IPoiSearchOrientationOptions {
349
- /**
350
- * User's current position, [lng, lat].
351
- */
352
- center: [
353
- number,
354
- number
355
- ];
356
- /**
357
- * The angle between cellphone's orientation and the north.
358
- */
359
- angle: number;
360
- /**
361
- * Radius.
362
- */
363
- distance: number;
364
- buildingId?: string;
365
- floorId?: string;
366
- /**
367
- * Floor order in physical space, e.g. '-1', '0'(ground floor), '1'...
368
- */
369
- ordinal?: string;
370
- /**
371
- * Search type.
372
- */
373
- distanceSearchType?: DistanceSearchType;
374
- }
375
324
  export declare enum PoisOrderBy {
376
325
  DEFAULT_NAME = "DefaultName"
377
326
  }
@@ -491,8 +440,6 @@ export interface IRouteSearchOptions {
491
440
  points: Array<{
492
441
  lat: number;
493
442
  lon: number;
494
- /** @deprecated 'buildingId' will be removed in future versions */
495
- buildingId?: string;
496
443
  floorId?: string;
497
444
  }>;
498
445
  /**
@@ -503,11 +450,6 @@ export interface IRouteSearchOptions {
503
450
  * @description Language-specific response. Default is "en".
504
451
  */
505
452
  locale?: PresetLanguage;
506
- /**
507
- * @description Whether the end point of the route is at the door(otherwise in the room), default is "true".
508
- * @deprecated
509
- */
510
- toDoor?: boolean;
511
453
  }
512
454
  export interface IVenueInlineBuilding {
513
455
  buildingOutlineId: number;
@@ -591,8 +533,7 @@ declare class Event$1 {
591
533
  get target(): Evented;
592
534
  set target(target: Evented);
593
535
  }
594
- /** MixedEvent class */
595
- export declare class Evented {
536
+ declare class Evented {
596
537
  private _listeners;
597
538
  private _oneTimeListeners;
598
539
  private _eventedParent;
@@ -681,43 +622,15 @@ export declare class Indoor extends Evented {
681
622
  fitBuildingBounds?: boolean;
682
623
  boundsPadding?: number | RequireAtLeastOne<PaddingOptions>;
683
624
  maskNonSelectedAreas?: boolean;
684
- /**
685
- * @deprecated Use 'startWithIndoorView' instead.
686
- */
687
- isInitialIndoor?: boolean;
688
625
  startWithIndoorView?: boolean;
689
- /**
690
- * @deprecated Use 'outdoorMapShown' instead.
691
- */
692
- isHiddenOutdoor?: boolean;
693
626
  outdoorMapShown?: boolean;
694
627
  selectedBuildingBorderStyle?: ISelectedBuildingBorderStyle;
695
628
  });
696
- /**
697
- * @description Turn on indoor-outdoor switching.
698
- * @deprecated Use 'setAllowOutdoorSwitch(true)' instead.
699
- */
700
- enableSwitch(): this;
701
- /**
702
- * @description Turn off indoor-outdoor switching.
703
- * @deprecated Use 'setAllowOutdoorSwitch(false)' instead.
704
- */
705
- disableSwitch(): this;
706
629
  /**
707
630
  * @description Set whether to allow exiting building.
708
631
  * @param allow
709
632
  */
710
633
  setAllowOutdoorSwitch(allow: boolean): this;
711
- /**
712
- * @description Turn on building-building switching.
713
- * @deprecated Use 'setAllowBuildingSwitch(true)' instead.
714
- */
715
- enableSwitchBuilding(): this;
716
- /**
717
- * @description Turn off building-building switching.
718
- * @deprecated Use 'setAllowBuildingSwitch(false)' instead.
719
- */
720
- disableSwitchBuilding(): this;
721
634
  /**
722
635
  * @description Set whether to allow switching building.
723
636
  * @param allow
@@ -741,13 +654,6 @@ export declare class Indoor extends Evented {
741
654
  * @description Get the geo features of bbox.
742
655
  */
743
656
  get features(): MapGeoJSONFeature[];
744
- /**
745
- * @description Get specified feature of bbox by id.
746
- * @deprecated Use 'getFeaturesById' instead.
747
- * @param id
748
- * @return {MapGeoJSONFeature | undefined}
749
- */
750
- getFeature(id: string): MapGeoJSONFeature | undefined;
751
657
  /**
752
658
  * @description Get features from bbox by id.
753
659
  * @param id
@@ -757,24 +663,11 @@ export declare class Indoor extends Evented {
757
663
  layerIds?: string[];
758
664
  filter?: (feature: MapGeoJSONFeature) => boolean;
759
665
  }): MapGeoJSONFeature[];
760
- /**
761
- * @description Get level feature at the point
762
- * @deprecated
763
- * @param point
764
- * @return {MapGeoJSONFeature | null}
765
- */
766
- getLevelByPoint(point: PointLike): MapGeoJSONFeature | null;
767
666
  /**
768
667
  * @description Switch floor by ordinal.
769
668
  * @param ordinal
770
669
  */
771
670
  switchFloorByOrdinal(ordinal: string | null): Promise<void>;
772
- /**
773
- * @description Hide the outdoor layer.
774
- * @deprecated Use 'setOutdoorMapShown' instead.
775
- * @param isHiddenOutdoor
776
- */
777
- hiddenOutdoorLayer(isHiddenOutdoor: boolean): void;
778
671
  setOutdoorMapShown(shown: boolean): void;
779
672
  /**
780
673
  * @description Update map layout.
@@ -785,12 +678,6 @@ export declare class Indoor extends Evented {
785
678
  * @param style {ISelectedBuildingBorderStyle | null}
786
679
  */
787
680
  setSelectedBuildingBorderStyle(style: ISelectedBuildingBorderStyle | null): void;
788
- /**
789
- * @description Set whether to cover the unselected venues/buildings.
790
- * @deprecated
791
- * @param mask Default is false.
792
- */
793
- setMaskNonSelectedAreas(mask: boolean): void;
794
681
  /**
795
682
  * @description Listen for the indoor map state, including the changes of venue, building and floor.
796
683
  * @param listener
@@ -949,16 +836,6 @@ export declare class FloorsControl implements IControl {
949
836
  * @param dragPan
950
837
  */
951
838
  switchByOrdinal(ordinal: string, dragPan?: boolean): void;
952
- /**
953
- * @deprecated
954
- * @param visible
955
- */
956
- setVisibility(visible: boolean): void;
957
- /**
958
- * @deprecated Use 'changePosition' instead.
959
- * @param position
960
- */
961
- setPosition(position: ControlPosition): void;
962
839
  changePosition(from: ControlPosition, to: ControlPosition, index?: number): void;
963
840
  setStyle(style: Partial<IFloorSelectorStyle>): void;
964
841
  private _setVisibility;
@@ -1064,11 +941,6 @@ declare class Map$1 extends Evented {
1064
941
  * @description Get maplibre map instance.
1065
942
  */
1066
943
  getMaplibre(): maplibregl$1.Map;
1067
- /**
1068
- * @description Get maplibre map instance.
1069
- * @deprecated Use 'getMaplibre' instead.
1070
- */
1071
- getMap(): maplibregl$1.Map;
1072
944
  /**
1073
945
  * @description Get current selected floor info.
1074
946
  * @return {IFloor | null}
@@ -1084,55 +956,21 @@ declare class Map$1 extends Evented {
1084
956
  * @return {MapGeoJSONFeature | null}
1085
957
  */
1086
958
  get venue(): MapGeoJSONFeature | null;
1087
- /**
1088
- * @description Translate POI name to the specified language.
1089
- * @deprecated Use 'setLanguage' instead.
1090
- * @param language Window.navigator.language.
1091
- */
1092
- transformPoiTextFieldLanguage(language: string): void;
1093
959
  /**
1094
960
  * @description Set map language.
1095
961
  * @param language {PresetLanguage} convertBrowserLangToPresetLang(Window.navigator.language).
1096
962
  */
1097
963
  setLanguage(language: PresetLanguage): void;
1098
964
  /**
1099
- * @description Turn on indoor-outdoor switching.
1100
- * @deprecated Use 'switchOutdoor.enable()' instead.
1101
- */
1102
- enableSwitch(): this;
1103
- /**
1104
- * @description Turn off indoor-outdoor switching.
1105
- * @deprecated Use 'switchOutdoor.disable()' instead.
1106
- */
1107
- disableSwitch(): this;
1108
- /**
1109
- * @description Turn on building-building switching.
1110
- * @deprecated Use 'switchBuilding.enable()' instead.
965
+ * @description Get map language.
966
+ * @return {PresetLanguage}
1111
967
  */
1112
- enableSwitchBuilding(): this;
1113
- /**
1114
- * @description Turn off building-building switching.
1115
- * @deprecated Use 'switchBuilding.disable()' instead.
1116
- */
1117
- disableSwitchBuilding(): this;
1118
- /**
1119
- * @description Set outdoor layer to be shown or hidden.
1120
- * @deprecated Use 'setOutdoorMapShown' instead.
1121
- * @param isHidden True is hidden, false is shown.
1122
- */
1123
- setOutdoorLayerHidden(isHidden: boolean): void;
968
+ getLanguage(): PresetLanguage;
1124
969
  /**
1125
970
  * @description Set outdoor map to be shown or hidden.
1126
971
  * @param shown
1127
972
  */
1128
973
  setOutdoorMapShown(shown: boolean): void;
1129
- /**
1130
- * @description Get feature in bbox by id.
1131
- * @deprecated Use 'getFeaturesById' instead.
1132
- * @param id
1133
- * @return {MapGeoJSONFeature | undefined}
1134
- */
1135
- getFeature(id: string): MapGeoJSONFeature | undefined;
1136
974
  /**
1137
975
  * @description Get features from bbox by coordinates [and ordinal].
1138
976
  * @param coordinates
@@ -1215,34 +1053,11 @@ declare class Map$1 extends Evented {
1215
1053
  }) => void): {
1216
1054
  unsubscribe: VoidFunction;
1217
1055
  };
1218
- /**
1219
- * @description Hide the BuildingSelector.
1220
- * @deprecated Use 'buildingSelector.disable()' instead.
1221
- */
1222
- disableBuildingSelector(): this;
1223
- /**
1224
- * @description Show the BuildingSelector.
1225
- * @deprecated Use 'buildingSelector.enable()' instead.
1226
- * @param position
1227
- */
1228
- enableBuildingSelector(position?: ControlPosition): this;
1229
1056
  /**
1230
1057
  * @description Switch the map style
1231
1058
  * @param theme ThemeType | string(customized map style file name)
1232
1059
  */
1233
1060
  switchTheme(theme: string): void;
1234
- /**
1235
- * @description Set the floorsControl's style.
1236
- * @deprecated Use 'setFloorSelectorStyle' instead.
1237
- * @param style
1238
- */
1239
- setFloorsControlStyle(style: IFloorsControlStyle): this;
1240
- /**
1241
- * @description Set the FloorSelector's style.
1242
- * @deprecated Use 'map.floorSelector.setStyle()' instead.
1243
- * @param style
1244
- */
1245
- setFloorSelectorStyle(style: IFloorSelectorStyle): this;
1246
1061
  /**
1247
1062
  * @description Set the SelectedBuildingBorder's style. If set to null, the border will be invisible.
1248
1063
  * @param style {ISelectedBuildingBorderStyle | null}
@@ -1320,15 +1135,6 @@ export declare class Marker {
1320
1135
  * @description Remove marker[s] layer and source.
1321
1136
  */
1322
1137
  remove(): void;
1323
- /**
1324
- * @description Add marker event listener.
1325
- * @deprecated Use 'on' method instead.
1326
- * @param eventKey
1327
- * @param callback
1328
- */
1329
- onEventListener(eventKey: keyof MapLayerEventType, callback: (marker: MapGeoJSONFeature) => void): {
1330
- offEventListener: VoidFunction;
1331
- };
1332
1138
  /**
1333
1139
  * @description Add marker event listener.
1334
1140
  * @param eventKey
@@ -1374,19 +1180,21 @@ export declare class Marker {
1374
1180
  * Required 'venueId' and 'ordinal' in properties.
1375
1181
  * Opacities of markers matched 'venueId' and 'ordinal' are 1, others are 0.5.
1376
1182
  * Outdoor markers' opacity always are 1.
1377
- * @param venueId {string | null | undefined} null | undefined will be treated as ''.
1378
- * @param ordinal {string | null | undefined} null | undefined will be treated as ''.
1183
+ * @param venueId {string | null | undefined}
1184
+ * @param ordinal {string | null | undefined}
1185
+ * @param inactiveOpacity {number} The opacity of marker while it's NOT in current floor, default is 0.5.
1379
1186
  */
1380
- setOpacityByVenue(venueId: string | null | undefined, ordinal: string | null | undefined): void;
1187
+ setOpacityByVenue(venueId: string | null | undefined, ordinal: string | null | undefined, inactiveOpacity?: number): void;
1381
1188
  /**
1382
1189
  * @description Set marker's icon-opacity by buildingId and ordinal.
1383
1190
  * Required 'buildingId' and 'ordinal' in properties.
1384
1191
  * Opacities of markers matched 'buildingId' and 'ordinal' are 1, others are 0.5.
1385
1192
  * Outdoor markers' opacity always are 1.
1386
- * @param buildingId {string | null | undefined} null | undefined will be treated as ''.
1387
- * @param ordinal {string | null | undefined} null | undefined will be treated as ''.
1193
+ * @param buildingId {string | null | undefined}
1194
+ * @param ordinal {string | null | undefined}
1195
+ * @param inactiveOpacity {number} The opacity of marker while it's NOT in current floor, default is 0.5.
1388
1196
  */
1389
- setOpacityByBuilding(buildingId: string | null | undefined, ordinal: string | null | undefined): void;
1197
+ setOpacityByBuilding(buildingId: string | null | undefined, ordinal: string | null | undefined, inactiveOpacity?: number): void;
1390
1198
  private _createIconFeature;
1391
1199
  private _addIconSource;
1392
1200
  private _addIconLayer;
@@ -1409,15 +1217,48 @@ export declare class Poi {
1409
1217
  private _initPoiClick;
1410
1218
  private _getFloorDataByFloorId;
1411
1219
  }
1220
+ export interface IRouteMarkers {
1221
+ from: string | null;
1222
+ to: string | null;
1223
+ stops: Array<string | null> | null;
1224
+ }
1225
+ export interface IRouteStyle<T> {
1226
+ indoorLineColor?: string | ExpressionSpecification;
1227
+ outdoorLineColor?: string | ExpressionSpecification;
1228
+ dashedLineColor?: string | ExpressionSpecification;
1229
+ shuttleBusLineColor?: string | ExpressionSpecification;
1230
+ lineWidth?: number | ExpressionSpecification;
1231
+ dashedLineWidth?: number | ExpressionSpecification;
1232
+ disableDashedLine?: boolean;
1233
+ inactiveRouteOpacity?: number | ExpressionSpecification;
1234
+ markers?: T;
1235
+ markerIconSize?: number | ExpressionSpecification;
1236
+ lineSymbol?: {
1237
+ /**
1238
+ * @description Icon url or sprite name.
1239
+ */
1240
+ image?: string | null;
1241
+ size?: number | ExpressionSpecification;
1242
+ spacing?: number | ExpressionSpecification;
1243
+ };
1244
+ }
1245
+ export type TRouteStyleOptions = IRouteStyle<Partial<IRouteMarkers> | Array<string | null>>;
1412
1246
  export declare class RoutePainter {
1413
1247
  private readonly _maplibreMap;
1414
- private _fromMarkerIcon;
1415
- private _toMarkerIcon;
1416
- private _stopMarkerIcons;
1417
- private _markerIconSize;
1418
- private _paintProperties;
1419
- constructor(maplibreMap: maplibregl$1.Map);
1248
+ private _routeStyle;
1249
+ private _styleDiffs;
1250
+ private _filterBy;
1251
+ private _curVenue;
1252
+ private _curBuilding;
1253
+ private _curOrdinal;
1254
+ constructor(maplibreMap: maplibregl$1.Map, routeStyle?: TRouteStyleOptions);
1255
+ /**
1256
+ * @description Set the style of the route.
1257
+ * @param routeStyle {TRouteStyleOptions | null} When null, reset to the initial style.
1258
+ */
1259
+ setStyle(routeStyle: TRouteStyleOptions | null): Promise<void>;
1420
1260
  /**
1261
+ * @deprecated Use 'setStyle' instead.
1421
1262
  * @description Set image[s] of the stop marker[s].
1422
1263
  * @param icons {**Array<string | null> | {from?: string | null; to?: string | null; stops?: Array<string | null> | null;}**}
1423
1264
  * Array of sprite names or URLs, or the object with specifying icon.
@@ -1433,11 +1274,13 @@ export declare class RoutePainter {
1433
1274
  stops?: Array<string | null> | null;
1434
1275
  }): Promise<void>;
1435
1276
  /**
1436
- * @description Set image icon scale.
1437
- * @param size Default is 1.
1277
+ * @deprecated Use 'setStyle' instead.
1278
+ * @description Set all icons scale.
1279
+ * @param size number in range [0, ∞), default is 1.
1438
1280
  */
1439
1281
  setMarkerIconSize(size: number): this;
1440
1282
  /**
1283
+ * @deprecated Use 'setStyle' instead.
1441
1284
  * @description Set the route color of the indoor part.
1442
1285
  * @param color The color type is a color in the sRGB color space.
1443
1286
  * Formats: HTML-style hex values, RGB, RGBA, HSL, and HSLA.
@@ -1445,6 +1288,7 @@ export declare class RoutePainter {
1445
1288
  */
1446
1289
  setIndoorLineColor(color: string): this;
1447
1290
  /**
1291
+ * @deprecated Use 'setStyle' instead.
1448
1292
  * @description Set the route color of the outdoor part.
1449
1293
  * @param color The color type is a color in the sRGB color space.
1450
1294
  * Formats: HTML-style hex values, RGB, RGBA, HSL, and HSLA.
@@ -1452,6 +1296,7 @@ export declare class RoutePainter {
1452
1296
  */
1453
1297
  setOutdoorLineColor(color: string): this;
1454
1298
  /**
1299
+ * @deprecated Use 'setStyle' instead.
1455
1300
  * @description Set color of dashed lines which connected the start and end markers.
1456
1301
  * @param color The color type is a color in the sRGB color space.
1457
1302
  * Formats: HTML-style hex values, RGB, RGBA, HSL, and HSLA.
@@ -1459,6 +1304,7 @@ export declare class RoutePainter {
1459
1304
  */
1460
1305
  setDashedLineColor(color: string): this;
1461
1306
  /**
1307
+ * @deprecated Use 'setStyle' instead.
1462
1308
  * @description Set color of shuttle bus line.
1463
1309
  * @param color The color type is a color in the sRGB color space.
1464
1310
  * Formats: HTML-style hex values, RGB, RGBA, HSL, and HSLA.
@@ -1501,6 +1347,10 @@ export declare class RoutePainter {
1501
1347
  private _addLineLayer;
1502
1348
  private _addTriangleLayer;
1503
1349
  private _addIconLayer;
1350
+ private _updateStyleProperties;
1351
+ private _loadMarkerIcons;
1352
+ private _updateLayers;
1353
+ private _filterRouteOpacity;
1504
1354
  }
1505
1355
  export declare class VenuesService {
1506
1356
  private _api;
@@ -1602,45 +1452,18 @@ export declare class PoisService {
1602
1452
  * @param options {IPoiSearchByDistanceOptions}
1603
1453
  */
1604
1454
  searchByDistance(options: IPoiSearchByDistanceOptions): TPromisePois;
1605
- /**
1606
- * @description Search POIs in a bbox.
1607
- * @deprecated Use searchByBounds instead.
1608
- * @param keywords
1609
- * @param bbox Rectangular area, [minLon, minLat, maxLon, maxLat].
1610
- * @param offset The maximum value is 100, default is 10.
1611
- * @param page Default is 1.
1612
- */
1613
- searchByBbox(keywords: string, bbox: number[], offset?: number, page?: number): TPromisePois;
1614
1455
  /**
1615
1456
  * @description Search POIs in a rectangular area.
1616
1457
  * @param options {IPoiSearchByBoundsOptions}
1617
1458
  * 'orderBy' cannot be used with 'keywords'.
1618
1459
  */
1619
1460
  searchByBounds(options: IPoiSearchByBoundsOptions): TPromisePois;
1620
- /**
1621
- * @description Search POIs of a building.
1622
- * @deprecated Use searchByBuilding instead.
1623
- * @param keywords
1624
- * @param buildingId
1625
- * @param offset The maximum value is 100, default is 10.
1626
- * @param page Default is 1.
1627
- */
1628
- searchByBuildingId(keywords: string, buildingId: string, offset?: number, page?: number): TPromisePois;
1629
1461
  /**
1630
1462
  * @description Search POIs of a building.
1631
1463
  * @param options {IPoiSearchByBuildingOptions}
1632
1464
  * 'orderBy' cannot be used with 'keywords'.
1633
1465
  */
1634
1466
  searchByBuilding(options: IPoiSearchByBuildingOptions): TPromisePois;
1635
- /**
1636
- * @description Search POIs of a venue.
1637
- * @deprecated Use searchByVenue instead.
1638
- * @param keywords
1639
- * @param venueId
1640
- * @param offset
1641
- * @param page
1642
- */
1643
- searchByVenueId(keywords: string, venueId: string, offset?: number, page?: number): TPromisePois;
1644
1467
  /**
1645
1468
  * @description Search POIs of a venue.
1646
1469
  * @param options {IPoiSearchByVenueOptions}
@@ -1658,13 +1481,6 @@ export declare class PoisService {
1658
1481
  * @param options
1659
1482
  */
1660
1483
  searchCategories(options: TSearchCategoriesOptions): TPromiseCategories;
1661
- /**
1662
- * @description Search surrounding POIs based on the user's location and orientation.
1663
- * BuildingId, floorId and ordinal are mutually exclusive, priority: ordinal > floorId > buildingId.
1664
- * @deprecated Use searchByOrientation instead.
1665
- * @param options
1666
- */
1667
- searchOrientation(options: IPoiSearchOrientationOptions): TPromiseOrientationPois;
1668
1484
  /**
1669
1485
  * @description Search surrounding POIs based on the user's location and orientation.
1670
1486
  * @param options {TPoiSearchByOrientationOptions}
@@ -1694,9 +1510,7 @@ export declare const PAGE: number;
1694
1510
  * @param language {string} window.navigator.language
1695
1511
  */
1696
1512
  export declare function convertBrowserLangToPresetLang(language: string): PresetLanguage | null;
1697
- /** @deprecated Use `VERSION` instead. */
1698
- export declare const version: string;
1699
- export declare const VERSION: string;
1513
+ export declare function getIdentifier(): Promise<string>;
1700
1514
 
1701
1515
  export {
1702
1516
  Map$1 as Map,