react-native-baidu-map
react-native-baidu-map copied to clipboard
marker显示不了,是啥情况?
<MapView style={styles.baiducontainer}
zoom={16}
trafficEnabled={true}
showsUserLocation={true}
mapType={MapTypes.NORMAL}
zoomControlsVisible={true}
center={{ longitude: 113.950453, latitude: 22.546045 }} key={Math.random()}>
<Overlay.Marker key={Math.random()} title="This is a marker" location={{ longitude: 113.969453, latitude: 22.546046 }} />
</MapView>
@jackywei1228 把你地图缩小了看 zoom={10}
{ longitude: 113.950453, latitude: 22.546045 }
{ longitude: 113.969453, latitude: 22.546046 }
@objczl 谢谢,后来我发现了这个问题。
还有一个问题,就是Text控件和InfoWindow你有用过吗?
#323 iOS的暂时支持比较少。