We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一共两个问题: 1.能把Marker等子组件中map改为非必传?每次都提示一个错误,很难受。 2.把Map标签增加一个children属性
The text was updated successfully, but these errors were encountered:
Map
export interface MapProps { /** 中心点坐标 */ center: BMapGL.Point | string; /** 缩放级别 */ zoom: BMapGL.ZoomType; /** 地图初始化时的默认配置 */ defaultOptions?: object; /** 个性化地图样式 */ mapStyleV2?: BMapGL.MapStyleV2; /** 地图最小缩放级别 */ minZoom?: BMapGL.ZoomType; /** 地图最大缩放级别 */ maxZoom?: BMapGL.ZoomType; /** 地图类型,普通地图或地球模式 */ mapType?: 'normal' | 'earth'; /** 地图背景颜色,传rgba格式长度为4的数组 */ backgroundColor?: number[]; /** 地图显示配置 */ displayOptions?: object; /** 地图旋转角度 */ heading?: number; /** 地图倾斜角度 */ tilt?: number; /** 是否开启鼠标滚轮缩放 */ enableScrollWheelZoom?: boolean; /** 是否开启双击鼠标缩放 */ enableDoubleClickZoom?: boolean; /** 是否开启地图旋转功能 */ enableRotate?: boolean; /** 是否开启地图倾斜功能 */ enableTilt?: boolean; /** 是否开启地图可拖拽缩放 */ enableDragging?: boolean; /** 鼠标左键单击事件的回调函数 */ onClick?(e: Event): void; /** 地图容器的class类名 */ className?: string; /** 地图容器父元素的style样式 */ style?: CSSProperties; children?:React.ReactNode; }
Sorry, something went wrong.
+1,+1,强迫症多少有点难受
No branches or pull requests
一共两个问题:
![image](https://private-user-images.githubusercontent.com/22092546/292169683-a5cb866f-421b-4c05-8247-73d2148080ac.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJle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LUFtei1EYXRlPTIwMjQwODIyVDAzMTY0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUzZTU1MGQwODQ2YTA1MThmM2U4MDFjMGQ4NDM5NzgyNzkxNDRlMmIxM2Y0Y2ZlMzFmMTE0ZDQ3MzQ5NWVlZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.PnFfwoJxXVls1dHOwxKG1ILu1bmhd8x2AkCJfTKh1SU)
1.能把Marker等子组件中map改为非必传?每次都提示一个错误,很难受。
2.把Map标签增加一个children属性
The text was updated successfully, but these errors were encountered: