@mapxus/mapxus-map-jp 8.3.0 → 8.4.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
@@ -15,6 +15,7 @@ export declare enum PresetLanguage {
15
15
  ENGLISH = "en",
16
16
  CHINESE_SIMPLIFIED = "zh-Hans",
17
17
  CHINESE_TRADITIONAL = "zh-Hant",
18
+ CHINESE_TRADITIONAL_TW = "zh-Hant-TW",
18
19
  JAPANESE = "ja",
19
20
  KOREAN = "ko",
20
21
  FILIPINO = "fil",
@@ -36,7 +37,7 @@ export declare enum ThemeType {
36
37
  MAPXUS_DEFAULT = "mapxus_default"
37
38
  }
38
39
  export declare enum AccessControlOrigin {
39
- Self = "self",
40
+ Access = "access_control",
40
41
  Map = "map"
41
42
  }
42
43
  export interface IBbox {
@@ -148,6 +149,18 @@ export interface ISelectedBuildingBorderStyle {
148
149
  lineColor?: string;
149
150
  lineOpacity?: number;
150
151
  }
152
+ export interface IPlatformIos {
153
+ sdkVersion: string;
154
+ identifier: string;
155
+ bundleId: string;
156
+ }
157
+ export interface IPlatformAndroid {
158
+ sdkVersion: string;
159
+ identifier: string;
160
+ sha1: string;
161
+ packageName: string;
162
+ }
163
+ export type TPlatform = IPlatformIos | IPlatformAndroid;
151
164
  export interface IMapOption {
152
165
  map: maplibregl$1.Map;
153
166
  appId: string;
@@ -207,6 +220,7 @@ export interface IMapOption {
207
220
  autoSelectBuilding?: boolean;
208
221
  transformRequest?: maplibregl$1.RequestTransformFunction | null;
209
222
  mapxusLogoEnabled?: boolean;
223
+ platform?: TPlatform;
210
224
  }
211
225
  export type TAnchorPosition = "center" | "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
212
226
  export interface IMarkerOptions {
@@ -742,6 +756,7 @@ export declare class Indoor extends EventEmitter {
742
756
  private _isNotCurrentFeature;
743
757
  private _setOutdoorVisibility;
744
758
  private _addCustomLevelFillLayer;
759
+ private _addBuildingMaskLayer;
745
760
  private _setBuildingLineOpacity;
746
761
  private _addBuildingHighlightLayer;
747
762
  private _filterBuildingHighlight;
@@ -771,9 +786,12 @@ export declare class BuildingFilterControl implements IControl {
771
786
  private _$listContainer;
772
787
  private _$buildingList;
773
788
  private _listHeight;
789
+ private _language;
774
790
  private _visible;
775
791
  private _position;
776
- constructor(map: Map$1, buildingSelectorEnabled?: boolean);
792
+ private _isMobileMode;
793
+ private _isListShown;
794
+ constructor(map: any, buildingSelectorEnabled?: boolean);
777
795
  onAdd(map: maplibregl$1.Map): HTMLElement;
778
796
  onRemove(): void;
779
797
  get position(): ControlPosition;
@@ -781,7 +799,7 @@ export declare class BuildingFilterControl implements IControl {
781
799
  getDefaultPosition(): ControlPosition;
782
800
  setVisibility(isVisible: boolean): void;
783
801
  changePosition(from: ControlPosition, to: ControlPosition, index?: number): void;
784
- private _loadData;
802
+ private _bindEvents;
785
803
  private _init;
786
804
  private _refresh;
787
805
  private _load;
@@ -793,10 +811,12 @@ export declare class BuildingFilterControl implements IControl {
793
811
  private _buildingNameCreate;
794
812
  private _toggleList;
795
813
  private _buildingNameClickEvent;
796
- private _buildingToggleListEvent;
814
+ private _bindMouseOnEvents;
815
+ private _bindMobileTouchEvents;
797
816
  private _$showLayout;
798
817
  private _$hideLayout;
799
818
  private _updateBuildingListLayout;
819
+ private _detectDeviceMode;
800
820
  }
801
821
  export interface IFloorSelectorOptions {
802
822
  style?: IFloorSelectorStyle;
@@ -1387,7 +1407,7 @@ export declare class AccessControl extends EventEmitter {
1387
1407
  isClosed: boolean;
1388
1408
  private _timeoutId;
1389
1409
  private _isInitialized;
1390
- private readonly _initializationPromise;
1410
+ private _initializationPromise;
1391
1411
  private _tokenManager;
1392
1412
  private readonly _from;
1393
1413
  constructor(appId: string, secret: string, origin?: AccessControlOrigin);
@@ -1401,6 +1421,10 @@ export declare class AccessControl extends EventEmitter {
1401
1421
  * Destroy the access_control instance, stop updating token.
1402
1422
  */
1403
1423
  close(): void;
1424
+ /**
1425
+ * For machine sleep for a long time, timer doesn't work, the token may be expired, so you can force update the token.
1426
+ */
1427
+ forceUpdateToken(): void;
1404
1428
  private _initToken;
1405
1429
  private _loopUpdateToken;
1406
1430
  }