Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. import React from 'react';
  2. import MapView from 'react-native-maps'
  3.  
  4. import { View } from 'react-native';
  5.  
  6. const App = () =>
  7. (
  8. <View style={{ flex: 1 }}>
  9. <MapView
  10. style={{ flex: 1 }}
  11. region={{
  12. latitude: 37.785834,
  13. longitude: -122.406417,
  14. latitudeDelta: 0.0143,
  15. longitudeDelta: 0.0134,
  16. }}
  17. showsUserLocation
  18. loadingEnabled
  19. />
  20. </View>
  21. );
  22.  
  23.  
  24. export default App;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement