diff options
author | Anand Thakker <github@anandthakker.net> | 2017-10-16 16:10:28 -0400 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-10-16 16:32:53 -0700 |
commit | b8654b3b04599988f1f7a519853e98d4ca54cfd0 (patch) | |
tree | c51053801e9835ea9de1ef2f3272a6ebc6605a51 /src/mbgl/util/mapbox.hpp | |
parent | e43e2aa3d700cb086e8de0e1c07a6623a192bfe0 (diff) | |
download | qtlocation-mapboxgl-b8654b3b04599988f1f7a519853e98d4ca54cfd0.tar.gz |
[core] Move SourceType to the 'style' namespace
Diffstat (limited to 'src/mbgl/util/mapbox.hpp')
-rw-r--r-- | src/mbgl/util/mapbox.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/util/mapbox.hpp b/src/mbgl/util/mapbox.hpp index f3dfdd0b01..aa128f2667 100644 --- a/src/mbgl/util/mapbox.hpp +++ b/src/mbgl/util/mapbox.hpp @@ -19,10 +19,10 @@ std::string normalizeGlyphsURL(const std::string& baseURL, const std::string& ur std::string normalizeTileURL(const std::string& baseURL, const std::string& url, const std::string& accessToken); // Return a "mapbox://tiles/..." URL (suitable for normalizeTileURL) for the given Mapbox tile URL. -std::string canonicalizeTileURL(const std::string& url, SourceType, uint16_t tileSize); +std::string canonicalizeTileURL(const std::string& url, style::SourceType, uint16_t tileSize); // Replace URL templates with "mapbox://tiles/..." URLs (suitable for normalizeTileURL). -void canonicalizeTileset(Tileset&, const std::string& url, SourceType, uint16_t tileSize); +void canonicalizeTileset(Tileset&, const std::string& url, style::SourceType, uint16_t tileSize); extern const uint64_t DEFAULT_OFFLINE_TILE_COUNT_LIMIT; |