summaryrefslogtreecommitdiff
path: root/src/mbgl/util/mapbox.hpp
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-03-06 12:14:21 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-03-06 13:51:20 -0800
commit8804c47d2736e284bb3d6272a38ecc90797d01f0 (patch)
treefb7318497abd43cf4f95a533a519ad527dadce90 /src/mbgl/util/mapbox.hpp
parenta3d76dad1064d3020f8b972ed5e7427966f30983 (diff)
downloadqtlocation-mapboxgl-8804c47d2736e284bb3d6272a38ecc90797d01f0.tar.gz
Only add {ratio} to raster tile URLs
Thanks to @mb12 for the suggestion.
Diffstat (limited to 'src/mbgl/util/mapbox.hpp')
-rw-r--r--src/mbgl/util/mapbox.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/util/mapbox.hpp b/src/mbgl/util/mapbox.hpp
index 68b821eabb..8ad92c0b40 100644
--- a/src/mbgl/util/mapbox.hpp
+++ b/src/mbgl/util/mapbox.hpp
@@ -2,6 +2,7 @@
#define MBGL_UTIL_MAPBOX
#include <string>
+#include <mbgl/style/types.hpp>
namespace mbgl {
namespace util {
@@ -9,7 +10,7 @@ namespace mapbox {
std::string normalizeSourceURL(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);
+std::string normalizeTileURL(const std::string& url, const std::string& sourceURL, SourceType sourceType);
}
}