Open 2207345508 opened 5 years ago
import { MapView ,Initializer} from 'react-native-baidumap-sdk' Initializer.init().catch(e => console.log(e))
<MapView style = {styles.map} center={{ latitude: 39, longitude: 113 }}> <MapView.Cricle center={{ latitude: 39, longitude: 113 }} radius={1000} strokeWidth={2} strokeColor="rgba(0, 0, 255, 0.5)" fillColor="rgba(255, 0, 0, 0.5)" /> </MapView>
报错:
试了Polygon、Marker都能正常使用,只有Cricle会出现上图问题,是不是我的用法错误
circle。。
英文拼写错了,应为 Circle
import { MapView ,Initializer} from 'react-native-baidumap-sdk' Initializer.init().catch(e => console.log(e))
报错: