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:
@@ -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);
|
||||
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
'dependencies': [
|
||||
'../mapboxgl.gyp:mbgl-standalone',
|
||||
'../mapboxgl.gyp:mbgl-linux',
|
||||
'../mapboxgl.gyp:bundle_styles',
|
||||
'../mapboxgl.gyp:copy_certificate_bundle',
|
||||
],
|
||||
'copies': [{
|
||||
|
||||
Reference in New Issue
Block a user