When using a RasterSource moving the map causes a new request to the tile server.
Is there a way to cache these on the client to avoid the additional requests? I understand mapbox does this on its own but doesn't seem to be doing it for the custom tile set.
This is another question to a similar issue. It seems mapbox should be doing this internally but is not.
When using a
RasterSource
moving the map causes a new request to the tile server.Is there a way to cache these on the client to avoid the additional requests? I understand mapbox does this on its own but doesn't seem to be doing it for the custom tile set.
This is another question to a similar issue. It seems mapbox should be doing this internally but is not.
https://github.com/nitaliano/react-native-mapbox-gl/issues/1087
Example code causing the spamming
<MapboxGL.RasterSource id="aerisWeather-windGusts" url={url} tileSize={256}> <MapboxGL.RasterLayer id="aerisWeatherLayer-windGusts" sourceID="aerisWeather-windGusts" /> </MapboxGL.RasterSource>