You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fails because mapbox-gl sees a url property on the source object. It's undefined but this seems to trigger a validation error in mapbox-gl and it ignores the tiles parameter then.
I believe the problem is in src/components/layer/RasterLayer.js line 47:
I have a raster layer that I want to add without a TileJSON URL, so I'm loading it like this:
This fails because mapbox-gl sees a
url
property on thesource
object. It'sundefined
but this seems to trigger a validation error in mapbox-gl and it ignores thetiles
parameter then.I believe the problem is in
src/components/layer/RasterLayer.js
line 47:The
url
property should only be defined ifthis.url
has been defined.The text was updated successfully, but these errors were encountered: