()
| 25 | } |
| 26 | |
| 27 | render() { |
| 28 | return ( |
| 29 | <View style={styles.container}> |
| 30 | <ScrollView |
| 31 | style={StyleSheet.absoluteFill} |
| 32 | contentContainerStyle={styles.scrollview}> |
| 33 | <Text>Clicking</Text> |
| 34 | <Text>and</Text> |
| 35 | <Text>dragging</Text> |
| 36 | <Text>the</Text> |
| 37 | <Text>map</Text> |
| 38 | <Text>will</Text> |
| 39 | <Text>cause</Text> |
| 40 | <Text>the</Text> |
| 41 | <MapView |
| 42 | provider={this.props.provider} |
| 43 | style={styles.map} |
| 44 | scrollEnabled={false} |
| 45 | zoomEnabled={false} |
| 46 | pitchEnabled={false} |
| 47 | rotateEnabled={false} |
| 48 | initialRegion={this.state.region}> |
| 49 | <Marker |
| 50 | title="This is a title" |
| 51 | description="This is a description" |
| 52 | coordinate={this.state.region} |
| 53 | /> |
| 54 | </MapView> |
| 55 | <Text>parent</Text> |
| 56 | <Text>ScrollView</Text> |
| 57 | <Text>to</Text> |
| 58 | <Text>scroll.</Text> |
| 59 | <Text>When</Text> |
| 60 | <Text>using</Text> |
| 61 | <Text>a Google</Text> |
| 62 | <Text>Map</Text> |
| 63 | <Text>this only</Text> |
| 64 | <Text>works</Text> |
| 65 | <Text>if you</Text> |
| 66 | <Text>disable:</Text> |
| 67 | <Text>scroll,</Text> |
| 68 | <Text>zoom,</Text> |
| 69 | <Text>pitch,</Text> |
| 70 | <Text>rotate.</Text> |
| 71 | <Text>...</Text> |
| 72 | <Text>It</Text> |
| 73 | <Text>would</Text> |
| 74 | <Text>be</Text> |
| 75 | <Text>nice</Text> |
| 76 | <Text>to</Text> |
| 77 | <Text>have</Text> |
| 78 | <Text>an</Text> |
| 79 | <Text>option</Text> |
| 80 | <Text>that</Text> |
| 81 | <Text>still</Text> |
| 82 | <Text>allows</Text> |
| 83 | <Text>zooming.</Text> |
| 84 | </ScrollView> |
nothing calls this directly
no outgoing calls
no test coverage detected