react-native/React
Nick Lockwood f9dfb90a35 Added ability to use a custom view for MapView annotations
Summary:
public
This diff adds the ability to specify a custom React component (aka view) to be displayed as a MapView pin.

This makes it possible to use remote images (using an <Image/> component), or text (using a <Text/> component), or anything else.

One consequence of this is that MapView can no longer support arbitrary subviews. To place views in front the map, add them to a separate container view.

Reviewed By: tadeuzagallo

Differential Revision: D2764790

fb-gh-sync-id: e16b44e866c2d76c76b0cb35ef9eefbfc68d6719
2015-12-17 06:46:33 -08:00
..
Base Remove unused RKAnalyticsCPULogger 2015-12-16 16:16:28 -08:00
Executors Rename RCTContextExecutor to RCTJSCExecutor 2015-12-16 02:51:28 -08:00
Layout Fix width being ignored when has a value of 0 2015-09-25 15:42:21 -07:00
Modules Added setChildren() function 2015-12-15 06:56:31 -08:00
Profiler Rename RCTContextExecutor to RCTJSCExecutor 2015-12-16 02:51:28 -08:00
React.xcodeproj Rename RCTContextExecutor to RCTJSCExecutor 2015-12-16 02:51:28 -08:00
Views Added ability to use a custom view for MapView annotations 2015-12-17 06:46:33 -08:00