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 @@ -MapView

MapView #

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.

import React, { Component } from 'react'; +MapView

MapView #

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.

import React, { Component } from 'react'; import { MapView } from 'react-native'; class MapMyRide extends Component { @@ -42,7 +46,7 @@ Default value is true.

showsUserLocation bool #

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.

style View#style #

Used to style and layout the MapView.

zoomEnabled bool #

If false the user won't be able to pinch/zoom the map. -Default value is true.

androidactive bool #

Type Definitions #

AnnotationDragState #

State an annotation on the map.

Type:
$Enum

Constants:
ValueDescription
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
'use strict'; +Default value is true.

androidactive bool #

Type Definitions #

AnnotationDragState #

State of an annotation on the map.

Type:
$Enum

Constants:
ValueDescription
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
'use strict'; var React = require('react'); var ReactNative = require('react-native'); diff --git a/versions.html b/versions.html index 62bf2fb85c2..5ce21b97ced 100644 --- a/versions.html +++ b/versions.html @@ -1,4 +1,4 @@ -React Native Versions

React Native Versions

React Native follows a 2-week release train. Every two weeks, a new branch created off master enters the Release Candidate phase, and the previous Release Candidate branch is released and considered stable.

Current Version (Stable)

0.36DocumentationRelease Notes

This is the version that is configured automatically when you run react-native init. We highly recommend using the current version of React Native when starting a new project.

If you have an existing project that uses React Native, read the release notes to learn about new features and fixes. You can follow our guide to upgrade your app to the latest version.

Pre-release Versions

masterDocumentation
0.37-RCDocumentationRelease Notes

For those who live on the bleeding edge. Only recommended if you're actively contributing code to React Native, or if you need to verify how your application behaves in an upcoming release.

Past Versions

0.35DocumentationRelease Notes
0.34DocumentationRelease Notes
0.33DocumentationRelease Notes
0.32DocumentationRelease Notes
0.31DocumentationRelease Notes
0.30DocumentationRelease Notes
0.29DocumentationRelease Notes
0.28DocumentationRelease Notes
0.27DocumentationRelease Notes
0.26DocumentationRelease Notes
0.25DocumentationRelease Notes
0.24DocumentationRelease Notes
0.23DocumentationRelease Notes
0.22DocumentationRelease Notes
0.21DocumentationRelease Notes
0.20DocumentationRelease Notes
0.19DocumentationRelease Notes
0.18DocumentationRelease Notes

You can find past versions of React Native on GitHub. The release notes can be useful if you would like to learn when a specific feature or fix was released.

You can also view the docs for a particular version of React Native by clicking on the Docs link next to the release in this page. You can come back to this page and switch the version of the docs you're reading at any time by clicking on the version number at the top of the page.

React Native Versions

React Native follows a 2-week release train. Every two weeks, a new branch created off master enters the Release Candidate phase, and the previous Release Candidate branch is released and considered stable.

Current Version (Stable)

0.36DocumentationRelease Notes

This is the version that is configured automatically when you run react-native init. We highly recommend using the current version of React Native when starting a new project.

If you have an existing project that uses React Native, read the release notes to learn about new features and fixes. You can follow our guide to upgrade your app to the latest version.

Pre-release Versions

masterDocumentation
0.37-RCDocumentationRelease Notes

For those who live on the bleeding edge. Only recommended if you're actively contributing code to React Native, or if you need to verify how your application behaves in an upcoming release.

Past Versions

0.35DocumentationRelease Notes
0.34DocumentationRelease Notes
0.33DocumentationRelease Notes
0.32DocumentationRelease Notes
0.31DocumentationRelease Notes
0.30DocumentationRelease Notes
0.29DocumentationRelease Notes
0.28DocumentationRelease Notes
0.27DocumentationRelease Notes
0.26DocumentationRelease Notes
0.25DocumentationRelease Notes
0.24DocumentationRelease Notes
0.23DocumentationRelease Notes
0.22DocumentationRelease Notes
0.21DocumentationRelease Notes
0.20DocumentationRelease Notes
0.19DocumentationRelease Notes
0.18DocumentationRelease Notes

You can find past versions of React Native on GitHub. The release notes can be useful if you would like to learn when a specific feature or fix was released.

You can also view the docs for a particular version of React Native by clicking on the Docs link next to the release in this page. You can come back to this page and switch the version of the docs you're reading at any time by clicking on the version number at the top of the page.

\ No newline at end of file + \ No newline at end of file