diff --git a/src/text/glyph_store.cpp b/src/text/glyph_store.cpp index bafd6ce82..e2ebb97bd 100644 --- a/src/text/glyph_store.cpp +++ b/src/text/glyph_store.cpp @@ -5,6 +5,7 @@ #include #include #include +#include namespace llmr { @@ -27,7 +28,7 @@ GlyphPBF::GlyphPBF(const std::string &fontStack, GlyphRange glyphRange) std::string url = util::sprintf<255>("http://mapbox.s3.amazonaws.com/gl-glyphs/%s/%d-%d.pbf", fontStack.c_str(), glyphRange.first, glyphRange.second); // TODO: Find more reliable URL normalization function - // std::replace(url.begin(), url.end(), ' ', '+'); + std::replace(url.begin(), url.end(), ' ', '+'); platform::request_http(url, [&](platform::Response *res) { if (res->code != 200) {