33 #include <boost/functional/hash.hpp> 40 const QString& base_url,
64 url.replace(QString::fromStdString(
"{level}"), QString::number(level));
65 url.replace(QString::fromStdString(
"{x}"), QString::number(x));
66 url.replace(QString::fromStdString(
"{y}"), QString::number(y));
virtual QString GenerateTileUrl(int32_t level, int64_t x, int64_t y)
virtual QString GetType() const
WmtsSource(const QString &name, const QString &base_url, bool is_custom, int32_t max_zoom)
boost::hash< std::string > hash_
static const QString WMTS_TYPE
virtual size_t GenerateTileHash(int32_t level, int64_t x, int64_t y)