Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasUserAction 这个参数很重要,我希望作者能提供至react-native api中 #18

Open
iamlion opened this issue May 12, 2017 · 1 comment

Comments

@iamlion
Copy link

iamlion commented May 12, 2017

  • (void)mapView:(RCTAMap *)mapView mapDidMoveByUser:(BOOL)wasUserAction {
    if(mapView.onDidMoveByUser) {
    mapView.onDidMoveByUser(@{
    @"data": @{
    @"centerCoordinate": @{
    @"latitude": @(mapView.centerCoordinate.latitude),
    @"longitude": @(mapView.centerCoordinate.longitude),
    }
    },
    });
    }
    }
@cyqresig
Copy link
Contributor

您好,后续重构时会考虑您的建议

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants