react-native-maps 1.0.0-beta.4 → 1.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -326,6 +326,12 @@ CGRect unionRect(CGRect a, CGRect b) {
326
326
  _reloadImageCancellationBlock = nil;
327
327
  }
328
328
 
329
+ if (!_realMarker.icon) {
330
+ // prevent glitch with marker (cf. https://github.com/react-native-maps/react-native-maps/issues/3657)
331
+ UIImage *emptyImage = [[UIImage alloc] init];
332
+ _realMarker.icon = emptyImage;
333
+ }
334
+
329
335
  _reloadImageCancellationBlock =
330
336
  [[_bridge moduleForName:@"ImageLoader"] loadImageWithURLRequest:[RCTConvert NSURLRequest:_iconSrc]
331
337
  size:self.bounds.size
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "React Native Mapview component for iOS + Android",
4
4
  "main": "lib/index.js",
5
5
  "author": "Leland Richardson <leland.m.richardson@gmail.com>",
6
- "version": "1.0.0-beta.4",
6
+ "version": "1.0.0-beta.5",
7
7
  "license": "MIT",
8
8
  "scripts": {
9
9
  "lint": "eslint . --max-warnings 0",