tangrams / tangram

WebGL map rendering engine for creative cartography
https://tangram.city
MIT License
2.22k stars 290 forks source link

Support HTTP 204 response #734

Closed bcamper closed 5 years ago

bcamper commented 5 years ago

Fixes #729.

Adds support for HTTP 204 (No Content) responses in tile requests. Any tiles returning a 204 will be considered to have loaded successfully, but will simply be empty. Previously these requests would cause warnings as a non-200 response.

bcamper commented 5 years ago

Hi @Zaitsev -- if you want to verify this fix with your tile source, there is a build of this branch available here:

https://204-response--tangram.netlify.com/dist/tangram.debug.js

bcamper commented 4 years ago

Released in https://github.com/tangrams/tangram/releases/tag/v0.19.1