Make file request overridable by platform implementations

refs #579: Android can now rename AssetRequest to FileRequest and implement it differently
This commit is contained in:
Konstantin Käfer
2014-12-17 12:14:32 +01:00
parent 02e43c6d30
commit 936e096514
10 changed files with 70 additions and 79 deletions

View File

@@ -83,7 +83,7 @@ int main(int argc, char *argv[]) {
// Load style
if (style.empty())
style = std::string("file://") + uv::cwd() + std::string("/../../styles/styles/bright-v6.json");
style = std::string("file://") + uv::cwd() + std::string("/styles/bright-v6.json");
map.setStyleURL(style);