summaryrefslogtreecommitdiff
path: root/src/mbgl/tile/tile_loader_impl.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] fix loading of stale must-revalidate resourcesKonstantin Käfer2017-09-251-0/+3
| | | | | | In https://github.com/mapbox/mapbox-gl-native/pull/9670, we implemented support for the Cache-Control: must-revalidate header. While we now respect this header and don't show resources that are stale and have this header set, the optional cache request never completes. This means we're also never going to try to actually get a fresh tile and just never show this tile anymore. This commit fixes this by responding with a Not Found error when the resource is unusable (= stale and has must-revalidate set). Since we actually still have the data (but can't use it due to caching rules), we're responding with the data as well. To avoid a second cache hit, tile_loader_impl.hpp now passes on the data from the Optional to the Required request so that it can be reused when we get a 304 Not Modified response from the server.
* [core] UpdateParameters ⇢ TileParametersJohn Firebaugh2017-05-041-2/+2
|
* [core] Move render-related sources out of style directory/namespaceJohn Firebaugh2017-05-031-2/+2
| | | | | | | | | | | | | | | | Moves the following to the renderer directory and out of the style namespace: * CascadeParameters * PropertyEvaluationParameters * UpdateParameters * PropertyEvaluator * DataDrivenPropertyEvaluator * CrossFadedPropertyEvaluator * PaintPropertyBinder * PaintProperyStatistics * PossiblyEvaluatedPropertyValue * TransitioningLight * EvaluatedLight
* [core] support "scheme": "tms" in TileJSON filesKonstantin Käfer2016-08-161-1/+2
|
* [core] Virtualize Source::createTileJohn Firebaugh2016-06-141-0/+3
|
* [core] TileSource ⇢ TileLoaderJohn Firebaugh2016-06-131-0/+110