venue-js 1.2.0-next.2 → 1.2.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/dist/index.d.mts +122 -26
- package/dist/index.d.ts +122 -26
- package/dist/index.js +312 -224
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +306 -217
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3,14 +3,15 @@ export { QueryObserver } from '@tanstack/query-core';
|
|
|
3
3
|
import * as geojson from 'geojson';
|
|
4
4
|
import { Position, Geometry, GeoJsonProperties, Feature, Point, Polygon, MultiPolygon, LineString, GeometryCollection } from 'geojson';
|
|
5
5
|
import * as maptalks_dist_core_Class from 'maptalks/dist/core/Class';
|
|
6
|
-
import
|
|
6
|
+
import * as maptalks_dist_geo_Extent from 'maptalks/dist/geo/Extent';
|
|
7
|
+
import { Map, Coordinate as Coordinate$1, Extent } from 'maptalks-gl';
|
|
7
8
|
import { BaseObject, ThreeLayer } from 'maptalks.three';
|
|
9
|
+
import * as maptalks from 'maptalks';
|
|
10
|
+
import { Coordinate, Marker, ui, LineString as LineString$1, Polygon as Polygon$1, MultiPolygon as MultiPolygon$1, MultiLineString } from 'maptalks';
|
|
8
11
|
import { ExtrudePolygonOptionType } from 'maptalks.three/dist/type';
|
|
9
12
|
import { PolygonOptionsType } from 'maptalks/dist/geometry/Polygon';
|
|
10
13
|
import { LineStringOptionsType } from 'maptalks/dist/geometry/LineString';
|
|
11
|
-
import
|
|
12
|
-
import { Extent, Marker, ui, LineString as LineString$1, Polygon as Polygon$1, MultiPolygon as MultiPolygon$1, MultiLineString } from 'maptalks';
|
|
13
|
-
import { MapViewType, MapAnimationOptionsType, MapPaddingType } from 'maptalks/dist/map/Map';
|
|
14
|
+
import { MapViewType, MapAnimationOptionsType } from 'maptalks/dist/map/Map';
|
|
14
15
|
import { SpriteMaterial, AmbientLight, DirectionalLight } from 'three';
|
|
15
16
|
|
|
16
17
|
type Id = string;
|
|
@@ -772,36 +773,22 @@ declare class RendererManager extends EventTarget {
|
|
|
772
773
|
clearMarkers(): void;
|
|
773
774
|
}
|
|
774
775
|
|
|
775
|
-
interface CameraManagerOptions {
|
|
776
|
-
defaultView?: MapViewType;
|
|
777
|
-
}
|
|
778
|
-
declare class CameraManager {
|
|
779
|
-
map: Map;
|
|
780
|
-
constructor(map: Map, options?: CameraManagerOptions);
|
|
781
|
-
/** Public methods */
|
|
782
|
-
getView: () => MapViewType;
|
|
783
|
-
setView: (value: MapViewType) => void;
|
|
784
|
-
animateTo: (view: MapViewType, options?: MapAnimationOptionsType, step?: (frame: any) => void) => void;
|
|
785
|
-
setMaxExtent(extent: Extent): Map;
|
|
786
|
-
getFeatureExtent: (feature: any, scaleFactor?: number) => Extent;
|
|
787
|
-
getExtentZoom: (extent: Extent, options?: {
|
|
788
|
-
isFraction?: boolean;
|
|
789
|
-
padding?: MapPaddingType;
|
|
790
|
-
}) => number;
|
|
791
|
-
set maxZoom(value: number);
|
|
792
|
-
set minZoom(value: number);
|
|
793
|
-
}
|
|
794
|
-
|
|
795
776
|
interface IndoorMapOptions {
|
|
796
777
|
onMapReady?: () => void;
|
|
797
778
|
onMapLoading?: () => void;
|
|
798
779
|
centerCross?: boolean;
|
|
799
780
|
dataClient: VenueDataClient;
|
|
800
|
-
camera?:
|
|
781
|
+
camera?: {
|
|
782
|
+
defaultCenter?: [number, number];
|
|
783
|
+
defaultZoom?: number;
|
|
784
|
+
defaultBearing?: number;
|
|
785
|
+
defaultPitch?: number;
|
|
786
|
+
};
|
|
801
787
|
renderer?: RendererManagerOptions;
|
|
802
788
|
pixelRatio?: number;
|
|
803
789
|
locale?: string;
|
|
804
790
|
}
|
|
791
|
+
type AmenityHighlightMode = "2DMarker";
|
|
805
792
|
type SymbolSet = string | null;
|
|
806
793
|
interface IHighlightOptions {
|
|
807
794
|
symbolSet?: SymbolSet;
|
|
@@ -814,7 +801,94 @@ interface ISetHighlightElementIdsOptions {
|
|
|
814
801
|
highlight3DOptions?: IHighlightOptions;
|
|
815
802
|
highlight2DOptions?: ISetHighlight2DElementIdsOptions;
|
|
816
803
|
}
|
|
804
|
+
interface IMapExtrudeConfig {
|
|
805
|
+
height: number;
|
|
806
|
+
category: string;
|
|
807
|
+
}
|
|
808
|
+
interface ILightConfig {
|
|
809
|
+
ambientLight: IMapLightConfig;
|
|
810
|
+
directionalLight: IMapLightConfig;
|
|
811
|
+
}
|
|
812
|
+
interface IMapLightConfig {
|
|
813
|
+
color: string;
|
|
814
|
+
position?: number[];
|
|
815
|
+
intensity: number;
|
|
816
|
+
}
|
|
817
|
+
interface IExtrudeConfig {
|
|
818
|
+
kiosk: IMapExtrudeConfig[];
|
|
819
|
+
unit: IMapExtrudeConfig[];
|
|
820
|
+
}
|
|
821
|
+
interface IShortestPathConfig {
|
|
822
|
+
resolution: number;
|
|
823
|
+
}
|
|
824
|
+
interface IAllVenuesViewConfig {
|
|
825
|
+
zoom?: number;
|
|
826
|
+
pitch?: number;
|
|
827
|
+
center?: Coordinate;
|
|
828
|
+
bearing?: number;
|
|
829
|
+
}
|
|
830
|
+
interface IMapAnimation {
|
|
831
|
+
[k: string]: {
|
|
832
|
+
enable?: boolean;
|
|
833
|
+
speed?: number;
|
|
834
|
+
};
|
|
835
|
+
}
|
|
836
|
+
interface IUnitDistanceModifier {
|
|
837
|
+
[k: string]: number;
|
|
838
|
+
}
|
|
839
|
+
type IGraphOptions = {
|
|
840
|
+
baseDistance?: number;
|
|
841
|
+
multiplier?: number;
|
|
842
|
+
};
|
|
843
|
+
type IVerticalGraphOptions = IGraphOptions & {
|
|
844
|
+
scaleDistanceByLevel?: boolean;
|
|
845
|
+
};
|
|
846
|
+
interface IGraphFeatureOptions {
|
|
847
|
+
traversal?: IUnitDistanceModifier;
|
|
848
|
+
escalator?: IGraphOptions;
|
|
849
|
+
ramp?: IGraphOptions;
|
|
850
|
+
elevator?: IGraphOptions;
|
|
851
|
+
stairs?: IVerticalGraphOptions;
|
|
852
|
+
}
|
|
853
|
+
interface IMapConfig {
|
|
854
|
+
amenity_highlight_mode?: AmenityHighlightMode;
|
|
855
|
+
default_zoom?: number;
|
|
856
|
+
max_zoom?: number;
|
|
857
|
+
min_zoom?: number;
|
|
858
|
+
kiosk_pixel_ratio?: number;
|
|
859
|
+
mobile_pixel_ratio?: number;
|
|
860
|
+
extrude?: IExtrudeConfig;
|
|
861
|
+
light?: ILightConfig;
|
|
862
|
+
shortest_path?: IShortestPathConfig;
|
|
863
|
+
text_marker_type?: "marker" | "ui-marker";
|
|
864
|
+
extent_features_scale_factor?: number;
|
|
865
|
+
extent_scale_map_view_factor?: number;
|
|
866
|
+
all_venues_view?: IAllVenuesViewConfig;
|
|
867
|
+
animations?: IMapAnimation[];
|
|
868
|
+
prepare_steps?: IGraphFeatureOptions;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
interface CameraManagerOptions {
|
|
872
|
+
defaultView?: MapViewType;
|
|
873
|
+
}
|
|
874
|
+
declare class CameraManager {
|
|
875
|
+
#private;
|
|
876
|
+
map: Map;
|
|
877
|
+
constructor(map: Map, options?: CameraManagerOptions);
|
|
878
|
+
/** Public methods */
|
|
879
|
+
getView: () => MapViewType;
|
|
880
|
+
getZoom: () => number;
|
|
881
|
+
setView: (value: MapViewType) => void;
|
|
882
|
+
flyTo: (center: any, options?: MapAnimationOptionsType & MapViewType) => void;
|
|
883
|
+
flyToAndZoomIn: (centerPoint: any, options?: MapAnimationOptionsType & MapViewType) => void;
|
|
884
|
+
}
|
|
817
885
|
|
|
886
|
+
type MapPaddingType = {
|
|
887
|
+
paddingLeft: number;
|
|
888
|
+
paddingRight: number;
|
|
889
|
+
paddingTop: number;
|
|
890
|
+
paddingBottom: number;
|
|
891
|
+
};
|
|
818
892
|
declare class IndoorMap extends EventTarget {
|
|
819
893
|
#private;
|
|
820
894
|
map: Map | null;
|
|
@@ -826,10 +900,10 @@ declare class IndoorMap extends EventTarget {
|
|
|
826
900
|
onMapLoading: () => void;
|
|
827
901
|
constructor(elementId: any, options: IndoorMapOptions);
|
|
828
902
|
set dataClient(value: any);
|
|
903
|
+
on(eventName: string, handler: any): void;
|
|
829
904
|
/**
|
|
830
905
|
* Events
|
|
831
906
|
*/
|
|
832
|
-
on(eventName: string, handler: any): void;
|
|
833
907
|
handleMapClick: ({ coordinate }: {
|
|
834
908
|
coordinate: any;
|
|
835
909
|
}) => void;
|
|
@@ -845,21 +919,34 @@ declare class IndoorMap extends EventTarget {
|
|
|
845
919
|
set mapTheme(value: any);
|
|
846
920
|
get venues(): any[];
|
|
847
921
|
set detectVenueInView(value: any);
|
|
922
|
+
get ordinals(): any[];
|
|
923
|
+
set ordinals(value: any[]);
|
|
848
924
|
set billboards(value: any);
|
|
925
|
+
set mapConfig(value: IMapConfig);
|
|
849
926
|
set mapDecorations(value: any);
|
|
927
|
+
set maxZoom(value: number);
|
|
928
|
+
set minZoom(value: number);
|
|
850
929
|
set groundLabels(value: any);
|
|
851
930
|
set pixelRatio(value: number);
|
|
852
931
|
set onClickElement(func: any);
|
|
853
932
|
set locale(value: string);
|
|
854
933
|
handleClickElement: (e: any) => void;
|
|
934
|
+
setCenter(center: Coordinate$1, padding?: MapPaddingType): void;
|
|
855
935
|
/**
|
|
856
936
|
* Change Level & animate to path / geometry / view / etc.
|
|
857
937
|
* ================================== */
|
|
858
938
|
changeLevelByOrdinal(ordinal: null | number | number[]): void;
|
|
939
|
+
getFeatureExtent: (feature: any, scaleFactor?: number) => Extent;
|
|
940
|
+
getExtentCenter: (extent: Extent) => maptalks_dist_geo_Extent.PositionType;
|
|
941
|
+
getExtentZoom: (extent: Extent, options?: {
|
|
942
|
+
isFraction?: boolean;
|
|
943
|
+
padding?: MapPaddingType;
|
|
944
|
+
}) => number;
|
|
859
945
|
findVenueInView: () => {
|
|
860
946
|
venueId: string;
|
|
861
947
|
distance: number;
|
|
862
948
|
};
|
|
949
|
+
flyTo: (center: any, options: any) => void;
|
|
863
950
|
getLineStringBearing: (feature: any) => number;
|
|
864
951
|
addAnimations(animation: {
|
|
865
952
|
id: string;
|
|
@@ -927,6 +1014,15 @@ declare class IndoorMap extends EventTarget {
|
|
|
927
1014
|
/**
|
|
928
1015
|
* render (frame)
|
|
929
1016
|
*/
|
|
1017
|
+
getTargetViewCenter: (targetView: any, options?: {
|
|
1018
|
+
offset: {
|
|
1019
|
+
top: number;
|
|
1020
|
+
left: number;
|
|
1021
|
+
right: number;
|
|
1022
|
+
bottom: number;
|
|
1023
|
+
};
|
|
1024
|
+
}) => Coordinate$1;
|
|
1025
|
+
setMaxExtent(extent: Extent): Map;
|
|
930
1026
|
render(): void;
|
|
931
1027
|
}
|
|
932
1028
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3,14 +3,15 @@ export { QueryObserver } from '@tanstack/query-core';
|
|
|
3
3
|
import * as geojson from 'geojson';
|
|
4
4
|
import { Position, Geometry, GeoJsonProperties, Feature, Point, Polygon, MultiPolygon, LineString, GeometryCollection } from 'geojson';
|
|
5
5
|
import * as maptalks_dist_core_Class from 'maptalks/dist/core/Class';
|
|
6
|
-
import
|
|
6
|
+
import * as maptalks_dist_geo_Extent from 'maptalks/dist/geo/Extent';
|
|
7
|
+
import { Map, Coordinate as Coordinate$1, Extent } from 'maptalks-gl';
|
|
7
8
|
import { BaseObject, ThreeLayer } from 'maptalks.three';
|
|
9
|
+
import * as maptalks from 'maptalks';
|
|
10
|
+
import { Coordinate, Marker, ui, LineString as LineString$1, Polygon as Polygon$1, MultiPolygon as MultiPolygon$1, MultiLineString } from 'maptalks';
|
|
8
11
|
import { ExtrudePolygonOptionType } from 'maptalks.three/dist/type';
|
|
9
12
|
import { PolygonOptionsType } from 'maptalks/dist/geometry/Polygon';
|
|
10
13
|
import { LineStringOptionsType } from 'maptalks/dist/geometry/LineString';
|
|
11
|
-
import
|
|
12
|
-
import { Extent, Marker, ui, LineString as LineString$1, Polygon as Polygon$1, MultiPolygon as MultiPolygon$1, MultiLineString } from 'maptalks';
|
|
13
|
-
import { MapViewType, MapAnimationOptionsType, MapPaddingType } from 'maptalks/dist/map/Map';
|
|
14
|
+
import { MapViewType, MapAnimationOptionsType } from 'maptalks/dist/map/Map';
|
|
14
15
|
import { SpriteMaterial, AmbientLight, DirectionalLight } from 'three';
|
|
15
16
|
|
|
16
17
|
type Id = string;
|
|
@@ -772,36 +773,22 @@ declare class RendererManager extends EventTarget {
|
|
|
772
773
|
clearMarkers(): void;
|
|
773
774
|
}
|
|
774
775
|
|
|
775
|
-
interface CameraManagerOptions {
|
|
776
|
-
defaultView?: MapViewType;
|
|
777
|
-
}
|
|
778
|
-
declare class CameraManager {
|
|
779
|
-
map: Map;
|
|
780
|
-
constructor(map: Map, options?: CameraManagerOptions);
|
|
781
|
-
/** Public methods */
|
|
782
|
-
getView: () => MapViewType;
|
|
783
|
-
setView: (value: MapViewType) => void;
|
|
784
|
-
animateTo: (view: MapViewType, options?: MapAnimationOptionsType, step?: (frame: any) => void) => void;
|
|
785
|
-
setMaxExtent(extent: Extent): Map;
|
|
786
|
-
getFeatureExtent: (feature: any, scaleFactor?: number) => Extent;
|
|
787
|
-
getExtentZoom: (extent: Extent, options?: {
|
|
788
|
-
isFraction?: boolean;
|
|
789
|
-
padding?: MapPaddingType;
|
|
790
|
-
}) => number;
|
|
791
|
-
set maxZoom(value: number);
|
|
792
|
-
set minZoom(value: number);
|
|
793
|
-
}
|
|
794
|
-
|
|
795
776
|
interface IndoorMapOptions {
|
|
796
777
|
onMapReady?: () => void;
|
|
797
778
|
onMapLoading?: () => void;
|
|
798
779
|
centerCross?: boolean;
|
|
799
780
|
dataClient: VenueDataClient;
|
|
800
|
-
camera?:
|
|
781
|
+
camera?: {
|
|
782
|
+
defaultCenter?: [number, number];
|
|
783
|
+
defaultZoom?: number;
|
|
784
|
+
defaultBearing?: number;
|
|
785
|
+
defaultPitch?: number;
|
|
786
|
+
};
|
|
801
787
|
renderer?: RendererManagerOptions;
|
|
802
788
|
pixelRatio?: number;
|
|
803
789
|
locale?: string;
|
|
804
790
|
}
|
|
791
|
+
type AmenityHighlightMode = "2DMarker";
|
|
805
792
|
type SymbolSet = string | null;
|
|
806
793
|
interface IHighlightOptions {
|
|
807
794
|
symbolSet?: SymbolSet;
|
|
@@ -814,7 +801,94 @@ interface ISetHighlightElementIdsOptions {
|
|
|
814
801
|
highlight3DOptions?: IHighlightOptions;
|
|
815
802
|
highlight2DOptions?: ISetHighlight2DElementIdsOptions;
|
|
816
803
|
}
|
|
804
|
+
interface IMapExtrudeConfig {
|
|
805
|
+
height: number;
|
|
806
|
+
category: string;
|
|
807
|
+
}
|
|
808
|
+
interface ILightConfig {
|
|
809
|
+
ambientLight: IMapLightConfig;
|
|
810
|
+
directionalLight: IMapLightConfig;
|
|
811
|
+
}
|
|
812
|
+
interface IMapLightConfig {
|
|
813
|
+
color: string;
|
|
814
|
+
position?: number[];
|
|
815
|
+
intensity: number;
|
|
816
|
+
}
|
|
817
|
+
interface IExtrudeConfig {
|
|
818
|
+
kiosk: IMapExtrudeConfig[];
|
|
819
|
+
unit: IMapExtrudeConfig[];
|
|
820
|
+
}
|
|
821
|
+
interface IShortestPathConfig {
|
|
822
|
+
resolution: number;
|
|
823
|
+
}
|
|
824
|
+
interface IAllVenuesViewConfig {
|
|
825
|
+
zoom?: number;
|
|
826
|
+
pitch?: number;
|
|
827
|
+
center?: Coordinate;
|
|
828
|
+
bearing?: number;
|
|
829
|
+
}
|
|
830
|
+
interface IMapAnimation {
|
|
831
|
+
[k: string]: {
|
|
832
|
+
enable?: boolean;
|
|
833
|
+
speed?: number;
|
|
834
|
+
};
|
|
835
|
+
}
|
|
836
|
+
interface IUnitDistanceModifier {
|
|
837
|
+
[k: string]: number;
|
|
838
|
+
}
|
|
839
|
+
type IGraphOptions = {
|
|
840
|
+
baseDistance?: number;
|
|
841
|
+
multiplier?: number;
|
|
842
|
+
};
|
|
843
|
+
type IVerticalGraphOptions = IGraphOptions & {
|
|
844
|
+
scaleDistanceByLevel?: boolean;
|
|
845
|
+
};
|
|
846
|
+
interface IGraphFeatureOptions {
|
|
847
|
+
traversal?: IUnitDistanceModifier;
|
|
848
|
+
escalator?: IGraphOptions;
|
|
849
|
+
ramp?: IGraphOptions;
|
|
850
|
+
elevator?: IGraphOptions;
|
|
851
|
+
stairs?: IVerticalGraphOptions;
|
|
852
|
+
}
|
|
853
|
+
interface IMapConfig {
|
|
854
|
+
amenity_highlight_mode?: AmenityHighlightMode;
|
|
855
|
+
default_zoom?: number;
|
|
856
|
+
max_zoom?: number;
|
|
857
|
+
min_zoom?: number;
|
|
858
|
+
kiosk_pixel_ratio?: number;
|
|
859
|
+
mobile_pixel_ratio?: number;
|
|
860
|
+
extrude?: IExtrudeConfig;
|
|
861
|
+
light?: ILightConfig;
|
|
862
|
+
shortest_path?: IShortestPathConfig;
|
|
863
|
+
text_marker_type?: "marker" | "ui-marker";
|
|
864
|
+
extent_features_scale_factor?: number;
|
|
865
|
+
extent_scale_map_view_factor?: number;
|
|
866
|
+
all_venues_view?: IAllVenuesViewConfig;
|
|
867
|
+
animations?: IMapAnimation[];
|
|
868
|
+
prepare_steps?: IGraphFeatureOptions;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
interface CameraManagerOptions {
|
|
872
|
+
defaultView?: MapViewType;
|
|
873
|
+
}
|
|
874
|
+
declare class CameraManager {
|
|
875
|
+
#private;
|
|
876
|
+
map: Map;
|
|
877
|
+
constructor(map: Map, options?: CameraManagerOptions);
|
|
878
|
+
/** Public methods */
|
|
879
|
+
getView: () => MapViewType;
|
|
880
|
+
getZoom: () => number;
|
|
881
|
+
setView: (value: MapViewType) => void;
|
|
882
|
+
flyTo: (center: any, options?: MapAnimationOptionsType & MapViewType) => void;
|
|
883
|
+
flyToAndZoomIn: (centerPoint: any, options?: MapAnimationOptionsType & MapViewType) => void;
|
|
884
|
+
}
|
|
817
885
|
|
|
886
|
+
type MapPaddingType = {
|
|
887
|
+
paddingLeft: number;
|
|
888
|
+
paddingRight: number;
|
|
889
|
+
paddingTop: number;
|
|
890
|
+
paddingBottom: number;
|
|
891
|
+
};
|
|
818
892
|
declare class IndoorMap extends EventTarget {
|
|
819
893
|
#private;
|
|
820
894
|
map: Map | null;
|
|
@@ -826,10 +900,10 @@ declare class IndoorMap extends EventTarget {
|
|
|
826
900
|
onMapLoading: () => void;
|
|
827
901
|
constructor(elementId: any, options: IndoorMapOptions);
|
|
828
902
|
set dataClient(value: any);
|
|
903
|
+
on(eventName: string, handler: any): void;
|
|
829
904
|
/**
|
|
830
905
|
* Events
|
|
831
906
|
*/
|
|
832
|
-
on(eventName: string, handler: any): void;
|
|
833
907
|
handleMapClick: ({ coordinate }: {
|
|
834
908
|
coordinate: any;
|
|
835
909
|
}) => void;
|
|
@@ -845,21 +919,34 @@ declare class IndoorMap extends EventTarget {
|
|
|
845
919
|
set mapTheme(value: any);
|
|
846
920
|
get venues(): any[];
|
|
847
921
|
set detectVenueInView(value: any);
|
|
922
|
+
get ordinals(): any[];
|
|
923
|
+
set ordinals(value: any[]);
|
|
848
924
|
set billboards(value: any);
|
|
925
|
+
set mapConfig(value: IMapConfig);
|
|
849
926
|
set mapDecorations(value: any);
|
|
927
|
+
set maxZoom(value: number);
|
|
928
|
+
set minZoom(value: number);
|
|
850
929
|
set groundLabels(value: any);
|
|
851
930
|
set pixelRatio(value: number);
|
|
852
931
|
set onClickElement(func: any);
|
|
853
932
|
set locale(value: string);
|
|
854
933
|
handleClickElement: (e: any) => void;
|
|
934
|
+
setCenter(center: Coordinate$1, padding?: MapPaddingType): void;
|
|
855
935
|
/**
|
|
856
936
|
* Change Level & animate to path / geometry / view / etc.
|
|
857
937
|
* ================================== */
|
|
858
938
|
changeLevelByOrdinal(ordinal: null | number | number[]): void;
|
|
939
|
+
getFeatureExtent: (feature: any, scaleFactor?: number) => Extent;
|
|
940
|
+
getExtentCenter: (extent: Extent) => maptalks_dist_geo_Extent.PositionType;
|
|
941
|
+
getExtentZoom: (extent: Extent, options?: {
|
|
942
|
+
isFraction?: boolean;
|
|
943
|
+
padding?: MapPaddingType;
|
|
944
|
+
}) => number;
|
|
859
945
|
findVenueInView: () => {
|
|
860
946
|
venueId: string;
|
|
861
947
|
distance: number;
|
|
862
948
|
};
|
|
949
|
+
flyTo: (center: any, options: any) => void;
|
|
863
950
|
getLineStringBearing: (feature: any) => number;
|
|
864
951
|
addAnimations(animation: {
|
|
865
952
|
id: string;
|
|
@@ -927,6 +1014,15 @@ declare class IndoorMap extends EventTarget {
|
|
|
927
1014
|
/**
|
|
928
1015
|
* render (frame)
|
|
929
1016
|
*/
|
|
1017
|
+
getTargetViewCenter: (targetView: any, options?: {
|
|
1018
|
+
offset: {
|
|
1019
|
+
top: number;
|
|
1020
|
+
left: number;
|
|
1021
|
+
right: number;
|
|
1022
|
+
bottom: number;
|
|
1023
|
+
};
|
|
1024
|
+
}) => Coordinate$1;
|
|
1025
|
+
setMaxExtent(extent: Extent): Map;
|
|
930
1026
|
render(): void;
|
|
931
1027
|
}
|
|
932
1028
|
|