react-native-maps icon indicating copy to clipboard operation
react-native-maps copied to clipboard

URL tile does not wotk

Open ademirtemur opened this issue 10 months ago • 6 comments

Summary

I have a react-native app and using reactnative maps lib. I want to use openstreetmap's tiles in my project but does not display tiles while url tile.

Reproducible sample code

I have a react-native app, i want to use open-street-map, bot tiles des not display using URLTile. I tried --variant=release but did not  change anything. 

### Details
<MapView  style={StyleSheet.absoluteFill} mapType={MAP_TYPES.NONE} provider={undefined} zoomControlEnabled={true}
                >
                    <UrlTile
                        urlTemplate="http://c.tile.openstreetmap.org/{z}/{x}/{y}.png"
                    />

                </MapView>

android:usesCleartextTraffic="true"

Steps to reproduce

While app is running

Expected result

Display on openstreetmap'tiles

Actual result

Screenshot 2024-12-28 at 14 48 39

React Native Maps Version

1.7.1

What platforms are you seeing the problem on?

iOS (Apple Maps), iOS (Google Maps)

React Native Version

0.72.17

What version of Expo are you using?

Not using Expo

Device(s)

Android and IOS

Additional information

No response

ademirtemur avatar Dec 28 '24 11:12 ademirtemur

+1

dpadula avatar Jan 17 '25 14:01 dpadula

@dpadula @ademirtemur this is one of the issues that were addressed while working on the alpha release / preparations for Fabric support.

please checkout the latest alpha version and test against it on iOS if it solves the issue.

salah-ghanim avatar Jan 19 '25 09:01 salah-ghanim

Any update on this?

I am on version 1.20.1 and it's still not working

Expo: 51 Device: Android

It was working in previous version which was 1.10.0, but I dont think thats compatible with expo 51

WahidN avatar Mar 27 '25 15:03 WahidN

Any update on this? Which version should I use to fix this problem ? Preferably an "Old Arch" version... I am on expo 52. Thanks

bsoufflet avatar Apr 22 '25 23:04 bsoufflet

@dpadula @ademirtemur this is one of the issues that were addressed while working on the alpha release / preparations for Fabric support.

please checkout the latest alpha version and test against it on iOS if it solves the issue.

I tried the latest version 1.22.6 but it didn't worked... I also tried 1.21 and 1.18 with no success...

bsoufflet avatar Apr 27 '25 22:04 bsoufflet

react-native-maps version: 1.22.6 React Native version: 0.76.5 (new Arch) Platform: Android 15 Not worked. Has anyone found a specific combination of versions or additional setup tweaks that make this feature render correctly?

RobinGud avatar Apr 28 '25 08:04 RobinGud

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If the issue remains relevant, simply comment Still relevant and the issue will remain open. Thank you for your contributions.

github-actions[bot] avatar Jul 28 '25 02:07 github-actions[bot]

I consider this as still being an issue and it should probably be reopened.

Mickael-van-der-Beek avatar Aug 23 '25 10:08 Mickael-van-der-Beek