diff --git a/releases/next/docs/mapview.html b/releases/next/docs/mapview.html index 775519e48bb..af95fa56cfd 100644 --- a/releases/next/docs/mapview.html +++ b/releases/next/docs/mapview.html @@ -1,7 +1,11 @@ -
This component is only supported on iOS.
MapView is used to display embeddable maps and annotations using
-MKMapView.
For a cross-platform solution, check out -react-native-maps -by Airbnb.
IMPORTANT: This component is now DEPRECATED and will be removed +in January 2017 (React Native version 0.42). This component only supports +iOS.
Please use
+react-native-maps by Airbnb
+instead of this component. Our friends at Airbnb have done an amazing job
+building a cross-platform MapView component that is more feature
+complete. It is used extensively (over 9k installs / month).
MapView is used to display embeddable maps and annotations using
+MKMapView.
true.If true the app will ask for the user's location and display it on
the map. Default value is false.
NOTE: You'll need to add the NSLocationWhenInUseUsageDescription
key in Info.plist to enable geolocation, otherwise it will fail silently.
Used to style and layout the MapView.
If false the user won't be able to pinch/zoom the map.
-Default value is true.
State an annotation on the map.
| Value | Description |
|---|---|
| idle | Annotation is not being touched. |
| starting | Annotation dragging has began. |
| dragging | Annotation is being dragged. |
| canceling | Annotation dragging is being canceled. |
| ending | Annotation dragging has ended. |
You can edit the content above on GitHub and send us a pull request!
State of an annotation on the map.
| Value | Description |
|---|---|
| idle | Annotation is not being touched. |
| starting | Annotation dragging has began. |
| dragging | Annotation is being dragged. |
| canceling | Annotation dragging is being canceled. |
| ending | Annotation dragging has ended. |
You can edit the content above on GitHub and send us a pull request!
Examples # | Edit on GitHub |