Commit ceedf50b authored by 7c00's avatar 7c00

Fix #167

parent a80c246c
......@@ -76,11 +76,13 @@
- (void)setActive:(BOOL)active {
_active = active;
if (active) {
[_mapView selectAnnotation:_annotation animated:YES];
} else {
[_mapView deselectAnnotation:_annotation animated:YES];
}
dispatch_async(dispatch_get_main_queue(), ^{
if (active) {
[_mapView selectAnnotation:_annotation animated:YES];
} else {
[_mapView deselectAnnotation:_annotation animated:YES];
}
});
}
- (void)setInfoWindowDisabled:(BOOL)disabled {
......
{
"name": "react-native-amap3d",
"version": "0.12.0",
"version": "0.12.1",
"description": "react-native 高德地图组件,支持 Android + iOS",
"author": "Qiu Xiang <i@7c00.cc>",
"license": "MIT",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment