Thanks @naoufal. Finally, I can display markers on the map to respond to the native iOS.
<View style={styles.container}> <MapView style={styles.map} initialRegion={{ latitude: 37.78825, longitude: -122.4324, latitudeDelta: 0.0, longitudeDelta: 0.0, }} > <MapView.Marker coordinate={{latitude: 37.78825, longitude: -122.4324}} title={"title"} description={"description"} /> </MapView> </View>
For map and container styles, I used the following styles:
var styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', alignItems: 'center', backgroundColor: '#F5FCFF', }, map: { position: 'absolute', top: 0, left: 0, right: 0, bottom: 0, } });
I referenced the following link: Change local IOS-Display markers on the map
Bk19
source share