diff --git a/README.md b/README.md index b68e3f66..8e1ec37e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # react-native-baidu-map [![npm version](https://img.shields.io/npm/v/react-native-baidu-map.svg?style=flat)](https://www.npmjs.com/package/react-native-baidu-map) -Baidu Map SDK modules and view for React Native, support react native 0.30+ +Baidu Map SDK modules and view for React Native(Android & IOS), support react native 0.30+ 百度地图 React Native 模块,支持 react native 0.30+ diff --git a/ios/RCTBaiduMap/RCTBaiduMapView.m b/ios/RCTBaiduMap/RCTBaiduMapView.m index 48c62ac0..4c561960 100644 --- a/ios/RCTBaiduMap/RCTBaiduMapView.m +++ b/ios/RCTBaiduMap/RCTBaiduMapView.m @@ -74,7 +74,6 @@ -(void)setMarkers:(NSArray *)markers { BMKPointAnnotation *annotation = [_annotations objectAtIndex:i]; [self removeAnnotation:annotation]; [_annotations removeObject:annotation]; - annotation = nil; } } diff --git a/package.json b/package.json index 91338a35..dc279550 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-baidu-map", - "version": "0.4.2", - "description": "Baidu Map SDK For React Native, Support both Android and IOS.", + "version": "0.4.3", + "description": "Baidu Map SDK modules and view for React Native(Android & IOS), support react native 0.30+.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1"