react-native/Libraries/Components
Tim Park 8911b72d9e Add Polyline support to MapView
Summary: Per issue #1925, add support for Polyline to MapView.

Briefly, if you have a MapView declared as:

    <MapView
      annotations={this.state.annotations}
      overlays={this.state.overlays}
      style={styles.map}
      region={this.state.region}
      ref="mapView"
    />

then setting

    this.state.overlays = [{
      coordinates: [
        { latitude: 35.5, longitude: -5.5 },
        { latitude: 35.6, longitude: -5.6 },
        ...
      ],
      strokeColor: 'rgba(255, 0, 0, 0.5)',
      lineWidth: 3,
    }];

will draw a red line between the points in locations with a width of 3 and equally blended with the background.
Closes https://github.com/facebook/react-native/pull/4153

Reviewed By: svcscm

Differential Revision: D2697347

Pulled By: nicklockwood

fb-gh-sync-id: a436e4ed8d4e43f2872b39b4694fad7c02de8fe5
2015-11-26 08:54:16 -08:00
..
ActivityIndicatorIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
DatePicker Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
DrawerAndroid Use requireNativeComponent everywhere. 2015-11-18 09:43:28 -08:00
Intent Codemod IntentAndroid.{openURI -> openURL} 2015-11-23 11:04:29 -08:00
MapView Add Polyline support to MapView 2015-11-26 08:54:16 -08:00
Navigation Add packager-managed assets support to NavigatorIOS 2015-10-02 12:02:29 -07:00
ProgressBarAndroid Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
ProgressViewIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
ScrollView Remove scrollview support from UIManager, remove mainScrollView(delegate) 2015-11-25 04:12:34 -08:00
SegmentedControlIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
SliderIOS added method to set thumb image 2015-11-24 16:10:04 -08:00
StatusBar Release React Native for Android 2015-09-14 18:13:39 +01:00
Switch Use requireNativeComponent with propTypes for Android components. 2015-11-18 06:36:28 -08:00
SwitchAndroid Use requireNativeComponent with propTypes for Android components. 2015-11-18 06:36:28 -08:00
SwitchIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
TabBarIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
TextInput Use requireNativeComponent with propTypes for Android components. 2015-11-18 06:36:28 -08:00
ToastAndroid fix typo: showText -> show 2015-11-17 09:05:30 -08:00
ToolbarAndroid Use requireNativeComponent with propTypes for Android components. 2015-11-18 06:36:28 -08:00
Touchable Use requireNativeComponent everywhere. 2015-11-18 09:43:28 -08:00
UnimplementedViews Quick fix to require cycle in UnimplementedView 2015-11-23 14:14:32 -08:00
View Use elevation to implement shadows on Android 2015-11-25 18:28:29 -08:00
ViewPager Use requireNativeComponent everywhere. 2015-11-18 09:43:28 -08:00
WebView add allowsInlineMediaPlayback prop to play inline html5 video 2015-11-19 07:11:29 -08:00
ScrollResponder.js Remove scrollview support from UIManager, remove mainScrollView(delegate) 2015-11-25 04:12:34 -08:00
StaticContainer.js Move stuff out of vendor/react_contrib/ 2015-10-12 11:18:30 -07:00
StaticRenderer.js [Haste] @provides -> @providesModule StaticRenderer 2015-05-14 08:42:13 -08:00
Subscribable.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00