mapbox / mapbox-gl-native-android

Interactive, thoroughly customizable maps in native Android powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
217 stars 118 forks source link

Add OnDidFailLoadingTileListener. #704

Closed pengdev closed 3 years ago

pengdev commented 3 years ago

This PR adds the OnDidFailLoadingTileListener to monitor tile loading errors.

<changelog>Handle exceptions thrown at layout initialization (including those thrown from vector tile parsing) and add OnDidFailLoadingTileListener, which will be trigged when tile failed to load.</changelog>