-
-
Notifications
You must be signed in to change notification settings - Fork 327
Open
Description
版本环境
react: 17.0.2 => 17.0.2
react-native: 0.66.4 => 0.66.4
react-native-baidu-map => 1.0.37
错误代码
<MapView
showsUserLocation={true}
locationData={location}
width={width}
height={400}
zoom={18}
trafficEnabled={true}
zoomControlsVisible={true}
mapType={MapTypes.NORMAL}
center={center}
onMapPoiClick={(e) => {
this.getCurrentPosition({ ...e });
}}
onMarkerClick={(e) => {
console.log('click-22', e);
this.getCurrentPosition({ ...e });
}}
>
<Marker location={{ longitude: 113, latitude: 22 }} />
在华为p50下 只要添加 <Marker location={{ longitude: 113, latitude: 22 }} /> 就闪退
Metadata
Metadata
Assignees
Labels
No labels