-
-
Notifications
You must be signed in to change notification settings - Fork 859
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
[Bug]: Custom vector tiles server doesn't work #3191
Comments
I've also been unable to get any vector tiles working, I can't find even a single example that works anywhere. |
Sorry I cannot run this example, please use concrete url. https://rnmapbox.github.io/docs/examples/FillRasterLayer/CustomVectorSource |
Is there an example that uses the tileUrlTemplates option like tileUrlTemplates={['https://example.com/vector-tiles/{z}/{x}/{y}.pbf']} |
Awesome thanks. I was able to figure it out using styling as well from this example |
Mapbox Implementation
Mapbox
Mapbox Version
default
Platform
iOS
@rnmapbox/maps
version10.0.15
Standalone component to reproduce
Observed behavior and steps to reproduce
I attempted to connect to a custom vector tiles server using the tileJSON format, but encountered a Mapbox error - Mapbox error MapLoad error Failed to load tile: {"level": "error", "message": "MapLoad error Failed to load tile: "} Despite attempting to modify the tile URLs for various resources, I couldn't resolve the issue.
JSON file (it's available by actual link):
Expected behavior
Custom server tiles connected and working as expected
Notes / preliminary analysis
No response
Additional links and references
No response
The text was updated successfully, but these errors were encountered: