Fix: handle error also for TMS/VectorTiles#28
Conversation
8f27cd0 to
a7af71c
Compare
a7af71c to
6d69952
Compare
jahow
left a comment
There was a problem hiding this comment.
thank you! also for the simplification 🙏
|
oh wait, reading again my code i have a small doubt about https://github.com/camptocamp/geospatial-sdk/pull/28/files#diff-0b30aedb7e9a5ebe8ea53b20abbb66f80186473926617a659c600b2c8ff171fbR50, the layer is not yet iniatialized at this point, but it is afterwards when |
Oh sorry, I thought it was the layer model that was given. I'm not 100% sure it will work, maybe try adding a more complete unit test? |
|
Oopsy i was too fast on that one! I set the tileLoadfunction for Image to the VectorTile tileLoadFunction... this handler may need some more work. |
This PR adds a tile load function error handler also for VectorTileLayer/VectorTile/MVT (mapbox vector tiles) wich is used for Gprf's "TMS".