Skip to content

Instantly share code, notes, and snippets.

@hanipcode
Created September 30, 2017 10:54
Show Gist options
  • Select an option

  • Save hanipcode/c17d798a4241ce4d02c7d8a2304c9f70 to your computer and use it in GitHub Desktop.

Select an option

Save hanipcode/c17d798a4241ce4d02c7d8a2304c9f70 to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import { View, Alert } from 'react-native';
import { MapView } from 'expo';
class PickupMapView extends Component {
render() {
console.log(this.state);
return (
<MapView
style={{ flex: 1 }}
initialRegion={{
latitude: 37.78825,
longitude: -122.4324,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421
}}
/>
);
}
}
export default PickupMapView;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment