-
Notifications
You must be signed in to change notification settings - Fork 697
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
RasterSource/RasterLayer not displaying on Android #1024
Comments
@ClayChristmas Could you try to add |
That fixed it, thanks! I thought that tileSize defaulted to 256 if not specified? Seems to have worked on IOS before without that, but not on Android. I also see some funkiness with the SymbolLayer opacity/aboveLayerID when using 512 tile sizes instead of 256 on Android. |
@ClayChristmas Cool, so if it's working well, you can close this issue. |
@ClayChristmas it should default to 256, I just looked into the Android SDK and it is setting the default value to |
@nitaliano and @phuochau thanks! Would you like for me to keep this issue open for now or close it? My map URL was using 512 tile sizes initially when it did not work, so there may be some other issue when it is not specified. |
Let's keep this open until I look into all the raster layer props and make any PRs under this ticket id |
@SurajPSyngenta I believe that we upgraded to the newer version of the library and that this has been resolved. I haven't looked at this in quite some time though. |
I've got a map set up in React Native 0.51 with MapBox 6.0.3-rc1 running on IOS and displaying a RasterLayer sourcing from a URL. On IOS everything works as expected, but the exact same React Native code does not work on Android. The map displays without issues or javascript error messages, but the layer does not display. A marker relying on the raster layer also doesn't display, but if I remove it's dependence on the raster layer then it does display.
The text was updated successfully, but these errors were encountered: