You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.1 KiB
44 lines
1.1 KiB
import React from 'react'; |
|
export declare const MapContext: React.Context<null>; |
|
type MapOpt = { |
|
center?: number[]; |
|
zoom?: number; |
|
defaultCursor?: string; |
|
animateEnable?: boolean; |
|
isHotspot?: boolean; |
|
rotateEnable?: boolean; |
|
resizeEnable?: boolean; |
|
showIndoorMap?: boolean; |
|
expandZoomRange?: boolean; |
|
dragEnable?: boolean; |
|
zoomEnable?: boolean; |
|
doubleClickZoom?: boolean; |
|
keyboardEnable?: boolean; |
|
jogEnable?: boolean; |
|
scrollWheel?: boolean; |
|
mapStyle?: string; |
|
features?: string[]; |
|
showBuildingBlock?: boolean; |
|
viewMode?: string; |
|
pitch?: number; |
|
pitchEnable?: boolean; |
|
buildingAnimation?: boolean; |
|
skyColor?: string; |
|
}; |
|
type Props = { |
|
loadingElement?: React.ReactElement; |
|
options?: MapOpt; |
|
containerClass?: string; |
|
containerStyle?: Object; |
|
children?: any; |
|
zoomchange?: (evt: any) => void; |
|
clickchange?: (evt: any) => void; |
|
loadedCallBack?: (map: object) => void; |
|
aMapUI?: boolean; |
|
aMapLoca?: boolean; |
|
loadingStyle?: React.CSSProperties; |
|
}; |
|
export declare const GDMap: React.ForwardRefExoticComponent< |
|
Props & React.RefAttributes<unknown> |
|
>; |
|
export {};
|
|
|