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
..
2015-04-26 02:17:13 -08:00
2015-08-17 08:46:00 -07:00
2015-06-25 09:17:01 -08:00
2015-09-04 07:00:21 -08:00
2015-05-28 09:16:44 -08:00
2015-05-28 09:16:44 -08:00
2015-11-03 14:49:30 -08:00
2015-11-25 04:49:45 -08:00
2015-11-25 04:49:45 -08:00
2015-06-25 09:15:21 -08:00
2015-06-25 09:15:21 -08:00
2015-11-26 08:54:16 -08:00
2015-11-26 08:54:16 -08:00
2015-09-02 06:11:24 -08:00
2015-09-02 06:11:24 -08:00
2015-06-05 09:58:25 -08:00
2015-11-14 10:28:28 -08:00
2015-10-08 11:56:25 -07:00
2015-11-26 08:54:16 -08:00
2015-11-26 08:54:16 -08:00
2015-11-26 08:54:16 -08:00
2015-11-26 08:54:16 -08:00
2015-03-26 02:42:24 -08:00
2015-11-26 08:54:16 -08:00
2015-11-26 08:54:16 -08:00
2015-11-26 08:54:16 -08:00
2015-08-14 04:47:12 -08:00
2015-11-17 06:37:31 -08:00
2015-07-28 07:21:50 -08:00
2015-11-25 04:49:45 -08:00
2015-08-14 04:47:12 -08:00
2015-11-25 04:49:45 -08:00
2015-08-14 01:57:18 -08:00
2015-11-03 14:49:30 -08:00
2015-03-26 02:42:24 -08:00
2015-11-14 10:28:28 -08:00
2015-09-02 06:11:24 -08:00
2015-09-02 06:11:24 -08:00
2015-03-26 02:42:24 -08:00
2015-09-02 06:11:24 -08:00
2015-11-03 14:49:30 -08:00
2015-11-03 14:49:30 -08:00
2015-03-26 02:42:24 -08:00
2015-11-14 10:28:28 -08:00
2015-03-26 02:42:24 -08:00
2015-06-03 09:49:35 -08:00
2015-11-14 10:28:28 -08:00
2015-11-25 04:12:34 -08:00
2015-11-19 11:15:48 -08:00
2015-11-25 04:12:34 -08:00
2015-11-25 04:12:34 -08:00
2015-11-25 04:12:34 -08:00
2015-11-03 14:49:30 -08:00
2015-11-03 14:49:30 -08:00
2015-04-29 08:08:45 -08:00
2015-11-14 10:28:28 -08:00
2015-11-17 10:58:32 -08:00
2015-11-17 10:58:32 -08:00
2015-11-24 16:10:04 -08:00
2015-11-24 16:10:04 -08:00
2015-03-26 02:42:24 -08:00
2015-11-24 16:10:04 -08:00
2015-09-02 06:11:24 -08:00
2015-03-26 02:42:24 -08:00
2015-03-26 02:42:24 -08:00
2015-09-02 06:11:24 -08:00
2015-09-02 06:11:24 -08:00
2015-11-05 09:39:30 -08:00
2015-09-02 06:11:24 -08:00
2015-10-06 10:29:01 -07:00
2015-03-26 02:42:24 -08:00
2015-09-02 06:11:24 -08:00
2015-03-26 02:42:24 -08:00
2015-09-02 06:11:24 -08:00
2015-07-07 06:15:20 -08:00
2015-09-02 06:11:24 -08:00
2015-11-14 10:28:28 -08:00
2015-03-26 02:42:24 -08:00
2015-11-25 04:49:45 -08:00
2015-11-25 04:49:45 -08:00
2015-11-14 10:28:28 -08:00
2015-11-14 10:28:28 -08:00
2015-03-26 02:42:24 -08:00
2015-11-19 07:11:29 -08:00
2015-09-02 06:11:24 -08:00
2015-09-04 07:00:21 -08:00
2015-08-13 07:56:41 -08:00
2015-11-14 10:28:28 -08:00
2015-11-14 10:28:28 -08:00