Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ export interface MapProps {
className?: string;
/** 地图容器父元素的style样式 */
style?: CSSProperties;
/** 可选子组件 */
children?: ReactNode;
};

const eventsMap: Events = [
Expand Down
2 changes: 1 addition & 1 deletion src/common/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export {default as Component} from './Component';

export interface MapChildrenProps {
/** *地图实例,来自父元素`<Map>`的继承,无需手动传入 */
map: BMapGL.Map;
map?: BMapGL.Map;
};