Add attributions only for visible layers
Handle levelZeroImage.onerror
Sort tiles by distance