0.18.1 • Published 10 years ago

react-native-android-mapview v0.18.1

Weekly downloads
2
License
Apache License 2
Repository
github
Last release
10 years ago

React Native MapView Component for Android

WiP MapView component based on Google Maps SDK for Android.

Example MapView

Note: The style prop with 'height' and 'width' are required to render the component.

let MapView = require('react-native-android-mapview')

...

<MapView
  style = { { height: 300, width: 300 } }
  region = { { latitude: 48.15278342806624, longitude: 11.583065316081047, zoom: 10.0 } }
  onRegionChange = { (e) => console.log(e) }
  annotations = { [ { latitude: 48.15278342806624, longitude: 11.583065316081047, id: 'the1st', title: '1st Marker' } ] }
/>

Props

onRegionChange

https://facebook.github.io/react-native/docs/mapview.html#onregionchange

region

https://facebook.github.io/react-native/docs/mapview.html#region

showsUserLocation

https://facebook.github.io/react-native/docs/mapview.html#showsUserLocation

mapType

https://facebook.github.io/react-native/docs/mapview.html#mapType

annotations

https://facebook.github.io/react-native/docs/mapview.html#annotations

0.18.1

10 years ago

0.18.0

10 years ago

0.17.5

10 years ago

0.17.4

10 years ago

0.17.3

10 years ago

0.17.2

10 years ago

0.17.1

10 years ago

0.17.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago