We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7463009 + 657ffe2 commit 7a77875Copy full SHA for 7a77875
ios/AirMaps/AIRMapMarker.m
@@ -209,9 +209,10 @@ - (void)setImageSrc:(NSString *)imageSrc
209
_reloadImageCancellationBlock();
210
_reloadImageCancellationBlock = nil;
211
}
212
- _reloadImageCancellationBlock = [_bridge.imageLoader loadImageWithTag:_imageSrc
+ _reloadImageCancellationBlock = [_bridge.imageLoader loadImageWithTag:[RCTConvert NSURLRequest:_imageSrc]
213
size:self.bounds.size
214
scale:RCTScreenScale()
215
+ clipped:YES
216
resizeMode:UIViewContentModeCenter
217
progressBlock:nil
218
completionBlock:^(NSError *error, UIImage *image) {
0 commit comments