Skip to content

Update AirMapMarker to use loadImageWithURLRequest#389

Merged
christopherdro merged 1 commit intoreact-native-maps:masterfrom
paulshen:patch-2
Jul 13, 2016
Merged

Update AirMapMarker to use loadImageWithURLRequest#389
christopherdro merged 1 commit intoreact-native-maps:masterfrom
paulshen:patch-2

Conversation

@paulshen
Copy link
Copy Markdown
Contributor

loadImageWithTag is deprecated and shows warnings on RN 0.29.

Test Plan

On iOS, render a map with a marker that has image prop set. See marker is rendered correctly and no deprecation warnings.

<MapView ...>
  <MapView.Marker ... image={require('./pin.png')} />
</MapView>

[`loadImageWithTag`](https://github.com/facebook/react-native/blob/ba4c34c0db004cda9fb561b3bdf5224d518ab32d/Libraries/Image/RCTImageLoader.m#L755) is deprecated and shows warnings on RN 0.29.

### Test Plan

On iOS, render a map with a marker that has image prop set. See marker is rendered correctly and no deprecation warnings.

```
<MapView ...>
  <MapView.Marker ... image={require('./pin.png')} />
</MapView>
```
@christopherdro
Copy link
Copy Markdown
Collaborator

@paulshen Nice. Thanks!

@christopherdro christopherdro merged commit 79a8f84 into react-native-maps:master Jul 13, 2016
BigPun86 pushed a commit to BigPun86/react-native-maps that referenced this pull request Dec 1, 2016
…#389)

[`loadImageWithTag`](https://github.com/facebook/react-native/blob/ba4c34c0db004cda9fb561b3bdf5224d518ab32d/Libraries/Image/RCTImageLoader.m#L755) is deprecated and shows warnings on RN 0.29.

### Test Plan

On iOS, render a map with a marker that has image prop set. See marker is rendered correctly and no deprecation warnings.

```
<MapView ...>
  <MapView.Marker ... image={require('./pin.png')} />
</MapView>
```
pinpong pushed a commit to pinpong/react-native-maps that referenced this pull request Feb 28, 2025
…#389)

[`loadImageWithTag`](https://github.com/facebook/react-native/blob/ba4c34c0db004cda9fb561b3bdf5224d518ab32d/Libraries/Image/RCTImageLoader.m#L755) is deprecated and shows warnings on RN 0.29.

### Test Plan

On iOS, render a map with a marker that has image prop set. See marker is rendered correctly and no deprecation warnings.

```
<MapView ...>
  <MapView.Marker ... image={require('./pin.png')} />
</MapView>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants