summaryrefslogtreecommitdiff
path: root/src/mbgl/util/url.hpp
blob: 550fff8aa1337e4b1c4d11ee9abf32922644304c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef MBGL_UTIL_URL
#define MBGL_UTIL_URL

#include <string>

namespace mbgl {

class TileID;

namespace util {

std::string percentEncode(const std::string&);
std::string percentDecode(const std::string&);

std::string templateTileURL(const std::string& url, const TileID& id, float pixelRatio = 1);

} // namespace util
} // namespace mbgl

#endif