maptiler / maptiler-sdk-js

Maps SDK tailored for MapTiler Cloud powered by MapLibre GL JS
https://docs.maptiler.com/sdk-js/
BSD 3-Clause "New" or "Revised" License
79 stars 14 forks source link

Fix for the client-side caching breaking GeoJSON sources #82

Closed petrsloup closed 6 months ago

petrsloup commented 6 months ago

RD-254

Objective

Loading GeoJSON sources from api.maptiler.com is currently broken due to a bug in the client-side caching mechanism

Description

More robust filtering. ResourceType was not enough, because the same value is actually used for TileJSONs and GeoJSONs.

Checklist