#import "AMapNaviView.h"
#import <React/UIView+React.h>

@implementation AMapNaviView
-(void) removeFromSuperview {
    [super removeFromSuperview];
    
    [[AMapNaviDriveManager sharedInstance] stopNavi];
}
@end

@implementation AMapRideNaviView
-(void) removeFromSuperview {
    [super removeFromSuperview];
    
    [[AMapNaviRideManager sharedInstance] stopNavi];
}
@end

@implementation AMapWalkNaviView
-(void) removeFromSuperview {
    [super removeFromSuperview];
    
    [[AMapNaviWalkManager sharedInstance] stopNavi];
}

@end
