MCPcopy Create free account
hub / github.com/react-native-maps/react-native-maps / render

Method render

example/src/examples/MapKml.tsx:35–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 }
34
35 render() {
36 return (
37 <View style={styles.container}>
38 <MapView
39 ref={ref => {
40 this.map = ref;
41 }}
42 provider={this.props.provider}
43 style={styles.map}
44 initialRegion={this.state.region}
45 kmlSrc={KML_FILE}
46 onKmlReady={this.onKmlReady}>
47 <Marker
48 coordinate={this.state.region}
49 title="Test"
50 description="Test"
51 />
52 </MapView>
53 </View>
54 );
55 }
56}
57
58const styles = StyleSheet.create({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected