-
-
Notifications
You must be signed in to change notification settings - Fork 866
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] Error 404 with WMTS map #1284
Comments
A 404 usually means that the file doesn't exist, so you need to try and figure why the server thinks it doesn't. |
As @ibrierley said, 404 is the Not Found HTTP error code. |
i did open the erroring image via browser and it returning the single image on my browser. any options to pass the error without throwing an error? |
I'd recommend using the DevTools (network tab) to see what requests are actually made and check those. |
Closing this now, as I'm pretty sure it's not a bug in flutter_map. Hope you found a solution! |
I think this is because poor connection or wms my server performance, sometime it is not deliver the image timely and produce the error. It also happen to OSM sometimes. Not exactly error 404 but it throw throw _network_image_io.dart. Back to my question, is it possible to just return a blank image for example in case this error occur? I think my problem similar to #1203 |
I add a WMTS base map tile and flutter map ramdomly throw _network_image_io.dart (lines 121: rethrow). The exception message is HTTP request failed, statusCode: 404, https://xxx/webmercator/5/25/14.png. The tile 5/25/14.png does exists on the server. Another time it throw another error, Connection closed while receiving data. What could be causing this problem and how to skip this error by just showing an empty tile image for example?
The text was updated successfully, but these errors were encountered: