load glyphset url from stylesheet

This commit is contained in:
Konstantin Käfer
2014-07-02 12:10:09 +02:00
parent e93803ac80
commit af87fb6c26
13 changed files with 58 additions and 18 deletions

View File

@@ -17,11 +17,10 @@
namespace llmr {
Source::Source(SourceType type, const std::string &url, const std::string &glyphs,
Source::Source(SourceType type, const std::string &url,
uint32_t tile_size, uint32_t min_zoom, uint32_t max_zoom)
: type(type),
url(normalizeSourceURL(url)),
glyphs(glyphs),
tile_size(tile_size),
min_zoom(min_zoom),
max_zoom(max_zoom) {}