()
| 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 | |
| 58 | const styles = StyleSheet.create({ |
nothing calls this directly
no outgoing calls
no test coverage detected