react-native/React/Modules
David Mohl 99bc08cf61 [MapView] Support for annotation callouts, annotation press, callout presses and pin animation
Summary:
Started from here - https://github.com/facebook/react-native/issues/1120. Most functionality for annotations were missing so I started implementing and somehow got caught up until the entire thing was done.

![screen shot 2015-05-12 at 10 07 43 pm](https://cloud.githubusercontent.com/assets/688326/7588677/8479a7a4-f8f9-11e4-99a4-1dc3c7691810.png)

2 new events:
- callout presses (left / right)
- annotation presses

6 new properties for annotations:
- hasLeftCallout
- hasRightCallout
- onLeftCalloutPress
- onRightCalloutPress
- animateDrop
- id

1 new property for MapView
- onAnnotationPress

---
Now the important thing is, that I implemented all of this the way "I would do it". I am not sure this is the 'reacty' way so please let me know my mistakes 😄

The problem is that there is no real way to identify annotations which makes it difficult to distinguish which one got clicked. The idea is to pass a `id` and whether it has callouts the entire way with the annotation. I had to
Closes https://github.com/facebook/react-native/pull/1247
Github Author: David Mohl <me@dave.cx>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-06-25 09:15:21 -08:00
..
RCTAlertManager.h [ReactNative] s/ReactKit/React/g 2015-03-26 02:42:24 -08:00
RCTAlertManager.m Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTAppState.h [ReactNative] s/ReactKit/React/g 2015-03-26 02:42:24 -08:00
RCTAppState.m [RN] fix duplicate observe 2015-05-31 14:46:38 -08:00
RCTAsyncLocalStorage.h Fixed AsyncLocalStorage bug 2015-06-22 14:40:33 -08:00
RCTAsyncLocalStorage.m Fixed async local storage 2015-06-23 14:24:42 -08:00
RCTExceptionsManager.h [ReactNative] differentiate fatal and soft exceptions 2015-05-13 13:24:37 -07:00
RCTExceptionsManager.m [ReactNative] backout orange box 2015-06-11 10:39:59 -08:00
RCTPointAnnotation.h [MapView] Support for annotation callouts, annotation press, callout presses and pin animation 2015-06-25 09:15:21 -08:00
RCTPointAnnotation.m [MapView] Support for annotation callouts, annotation press, callout presses and pin animation 2015-06-25 09:15:21 -08:00
RCTSourceCode.h [ReactNative] s/ReactKit/React/g 2015-03-26 02:42:24 -08:00
RCTSourceCode.m [ReactNative] Allow JS know its URL 2015-04-20 14:20:36 -08:00
RCTStatusBarManager.h Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
RCTStatusBarManager.m Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
RCTTiming.h [ReactNative] Use a single DisplayLink held by the bridge 2015-04-15 07:07:48 -08:00
RCTTiming.m [ReactNative] Remove RCT_IMPORT_METHOD macro and generate lookup table dynamically 2015-06-15 13:05:52 -08:00
RCTUIManager.h Provide root reactTag to RootComponent and use it to resolve view controllers 2015-06-24 10:20:55 -08:00
RCTUIManager.m [React Native] Remove layout-only nodes 2015-06-25 09:12:00 -08:00