modestmaps / modestmaps-js

Modest Maps javascript port
http://modestmaps.com
395 stars 73 forks source link

Gracefully handle 404 tiles #41

Closed tmcw closed 8 years ago

tmcw commented 12 years ago

Sparse tilesets have lots of 404s, and so pose two problems: parent tiles are not pulled out of the DOM when their children have failures, and 404 tiles themselves look weird.

This would be simple if we didn't consider IE7, which has 1-5% market share, so is barely worth considering.

Anyway,

The options are:

The final option is