Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL tile does not wotk #5310

Open
ademirtemur opened this issue Dec 28, 2024 · 2 comments
Open

URL tile does not wotk #5310

ademirtemur opened this issue Dec 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ademirtemur
Copy link

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 ademirtemur added the bug Something isn't working label Dec 28, 2024
@dpadula
Copy link

dpadula commented Jan 17, 2025

+1

@salah-ghanim
Copy link
Collaborator

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants