diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-01-13 11:50:48 +0100 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-01-13 13:04:59 -0800 |
commit | 62973f9e5a2be037f582e111248e06f623f2374e (patch) | |
tree | 6c8e439031aa8353288b5d948eca84bb2e50ff1a /src/mbgl/util/mapbox.hpp | |
parent | 1ff317c1cdebc2bb34bb759dea957f8dd9660eb1 (diff) | |
download | qtlocation-mapboxgl-62973f9e5a2be037f582e111248e06f623f2374e.tar.gz |
[core] move raster tile URL normalization to source parsing
Diffstat (limited to 'src/mbgl/util/mapbox.hpp')
-rw-r--r-- | src/mbgl/util/mapbox.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/mapbox.hpp b/src/mbgl/util/mapbox.hpp index 64f34d72a7..3c44d704c7 100644 --- a/src/mbgl/util/mapbox.hpp +++ b/src/mbgl/util/mapbox.hpp @@ -14,7 +14,7 @@ std::string normalizeSourceURL(const std::string& url, const std::string& access std::string normalizeStyleURL(const std::string& url, const std::string& accessToken); std::string normalizeSpriteURL(const std::string& url, const std::string& accessToken); std::string normalizeGlyphsURL(const std::string& url, const std::string& accessToken); -std::string normalizeTileURL(const std::string& url, const std::string& sourceURL, SourceType sourceType); +std::string normalizeRasterTileURL(const std::string& url); // Canonicalizes Mapbox URLs by removing [a-d] subdomain prefixes, access tokens, and protocol. // Note that this is close, but not exactly the reverse operation as above, as this retains certain |