- The SQL query used for checking if the tile was already in the
cache was wrong.
- Tiles being refereed by two or more regions were not always
counted as one.
Fixes#13437.
- Removed this parameter from the constructor, now that we
have a method to set it.
- Add the method and enforce the limits if the ambient cache exceeds the
size.
Add new APIs for invalidating tiles, effectively forcing Mapbox
GL Native to check with the servers if the tiles are valid before
using them. This is more efficient then deleting tiles, because
in case of valid tiles, they won't get downloaded.
Fixes#4376.