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
一共两个问题:
1.能把Marker等子组件中map改为非必传?每次都提示一个错误,很难受。
2.把Map标签增加一个children属性
The text was updated successfully, but these errors were encountered: