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

mbtiles or geopackage support? #746

Closed
geospatialmapmashup opened this issue Nov 12, 2017 · 1 comment
Closed

mbtiles or geopackage support? #746

geospatialmapmashup opened this issue Nov 12, 2017 · 1 comment

Comments

@geospatialmapmashup
Copy link

Can't find any documentation about loading your own data offline.
Does the React Native MapBox GL support Mbtiles and GeoPackage Raster and Vector Datasets?

@nitaliano
Copy link
Owner

nitaliano commented Nov 15, 2017

We support whatever is possible to do with the native SDKs, so when you set MapView.styleURL, ShapeSource.url, RasterSource.url, and VectorSource.url it's just a direct pass through to the native SDK method calls. I'm not 100% sure if the native SDKs support GeoPackages, if they do and there is a bug in the RN repo we can fix them to add support. This is what we have documented for creating offline packs https://github.com/mapbox/react-native-mapbox-gl/blob/master/docs/OfflineManager.md

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

No branches or pull requests

2 participants