react-native-amap3d icon indicating copy to clipboard operation
react-native-amap3d copied to clipboard

如果需要创建N个Marker怎么做?

Open Jason7Le opened this issue 2 years ago • 2 comments

如果需要创建N个Marker怎么做?

Jason7Le avatar Jun 15 '22 01:06 Jason7Le

我用map,marker没有显示。 {data.map((item, index) => { <Marker position={{ latitude: item.latitude, longitude: item.longitude }}> <View style={styles.markers}> <Text style={styles.markers.texts}>N18</Text> </View> </Marker> }) }

Jason7Le avatar Jun 15 '22 01:06 Jason7Le

map里加个return

fupingwu avatar Jun 24 '22 09:06 fupingwu