-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
GET tiles 404 (Not Found) and evented.js:104 Error #5093
Comments
Update to this issue: Hi guys, I think I solved this problem. First, I would like to apologize that I made a mistake in the previous issue report. The mbtiles is actually created by Mapbox Studio Classic not by Mapbox Studio. I think the problem is caused by Mapbox Studio Classic. See these two mbtiles. The first one is created by directly uploading shapefile to Mapbox Studio and the second one is created in Mapbox Studio Classic. The second one has more zoom level but a smaller size. So that's why there is empty content returned. I don't know why Mapbox Studio Classic cut the size of the mbtiles. I think engineers from Mapbox will help explain. Also I tested the mbtiles created by tippecanoe, there is no error message. So I think if you want to adjust the zoom extent or host the mbtiles by yourself, tippecanoe is the best way. |
I did more tests with tiles created by Mapbox Studio and tippecanoe. There is still 404 error. Now it is not that easy to trigger the error. When you point your mouse at the west border of Manhattan and zoom in. The error will appear. Also, when you point your mouse outside the border, zoom in, the error will also appear. |
Hi @Roxyi, thanks for the report. This is expected browser behavior — see #1800 (comment) for further explanation. |
Er, sorry, spoke too soon — Mapbox GL shouldn't be logging that as an error anymore, only the browser. |
@lbud Thanks for your help. I guess this is the browser behavior too. When I added mbtiles from a third party tile source. It will return Error: http status 200 returned without content, These error messages do not affect the map. They are just annoying when you need to debug in the console. |
→ #5574 |
mapbox-gl-js version: mapbox-gl.js v0.39.1
Steps to Trigger Behavior
Upload a shapefile to Mabox Studio and it automatically converted my shapefile to vector tiles
Use mapbox gl js to add the vector tiles to the map
example: js bin
Continue zooming out the map
Expected Behavior
no error
Actual Behavior
It gave me 404 and evented.js:104 error
I guess when you zoom in and out the map, it sometimes returns empty content.
This is changed to Error: http status 200 returned without content, if I add a third party vector tile source.
The text was updated successfully, but these errors were encountered: