@mapxus/mapxus-map-jp 8.2.0 → 8.3.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
@@ -31,7 +31,9 @@ export declare enum ThemeType {
31
31
  MAPXUS = "mapxus",
32
32
  LANDS_D = "landsD",
33
33
  COMMON = "common",
34
- MAPXUS_V2 = "mapxus_v2"
34
+ /** @deprecated MAPXUS_V2 will be removed soon, please use MAPXUS_DEFAULT instead. */
35
+ MAPXUS_V2 = "mapxus_v2",
36
+ MAPXUS_DEFAULT = "mapxus_default"
35
37
  }
36
38
  export declare enum AccessControlOrigin {
37
39
  Self = "self",
@@ -175,6 +177,7 @@ export interface IMapOption {
175
177
  poiId?: string;
176
178
  outdoorMapShown?: boolean;
177
179
  theme?: ThemeType | string;
180
+ /** @deprecated 'collapseCopyright' will be removed soon. You'd not use it. */
178
181
  collapseCopyright?: boolean;
179
182
  selectedBuildingBorderStyle?: ISelectedBuildingBorderStyle;
180
183
  floorSelectorStyle?: IFloorSelectorStyle;
@@ -202,6 +205,8 @@ export interface IMapOption {
202
205
  language?: PresetLanguage;
203
206
  /** @description Auto Select Building by panning building to map center, default is false. */
204
207
  autoSelectBuilding?: boolean;
208
+ transformRequest?: maplibregl$1.RequestTransformFunction | null;
209
+ mapxusLogoEnabled?: boolean;
205
210
  }
206
211
  export type TAnchorPosition = "center" | "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
207
212
  export interface IMarkerOptions {
@@ -925,6 +930,7 @@ declare class Map$1 {
925
930
  private _hiddenBuildings;
926
931
  private _debounceHTTPErrorHandler;
927
932
  private _debounceTilesFilter;
933
+ private _transformRequestHandler;
928
934
  isDestroyed: boolean;
929
935
  switchOutdoor: SwitchOutdoorHandler;
930
936
  switchBuilding: SwitchBuildingHandler;
@@ -937,6 +943,11 @@ declare class Map$1 {
937
943
  */
938
944
  renderComplete(callback: VoidFunction): void;
939
945
  destroyed(callback: VoidFunction): void;
946
+ /**
947
+ * For transforming the request parameters of style resources before the map makes a request. Should be called before map.renderComplete().
948
+ * @param handler {maplibregl.RequestTransformFunction}
949
+ */
950
+ setTransformRequest(handler: maplibregl$1.RequestTransformFunction): void;
940
951
  /**
941
952
  * @description Get map indoor instance.
942
953
  */
@@ -1555,6 +1566,7 @@ export declare const PAGE: number;
1555
1566
  */
1556
1567
  export declare function convertBrowserLangToPresetLang(language: string): PresetLanguage | null;
1557
1568
  export declare function getIdentifier(): Promise<string>;
1569
+ export declare const VERSION: string;
1558
1570
 
1559
1571
  export {
1560
1572
  Map$1 as Map,