The defaults remains the same: Bay area at zoom 15. The key, if not supplied, is taken from the environment. ``` Allowed options: -s [ --style ] URL Map stylesheet --north degrees (=37.200000000000003) North latitude --west degrees (=-122.8) West longitude --south degrees (=38.100000000000001) South latitude --east degrees (=-121.7) East longitude --minZoom number (=0) Min zoom level --maxZoom number (=15) Max zoom level --pixelRatio number (=1) Pixel ratio -t [ --token ] key Mapbox access token -o [ --output ] file (=offline.db) Output database file name ```
50 lines
1.0 KiB
Python
50 lines
1.0 KiB
Python
{
|
|
'includes': [
|
|
'../gyp/common.gypi',
|
|
],
|
|
'targets': [
|
|
{ 'target_name': 'mbgl-offline',
|
|
'product_name': 'mbgl-offline',
|
|
'type': 'executable',
|
|
|
|
'dependencies': [
|
|
'mbgl.gyp:core',
|
|
'mbgl.gyp:platform-<(platform_lib)',
|
|
'mbgl.gyp:headless-<(headless_lib)',
|
|
'mbgl.gyp:http-<(http_lib)',
|
|
'mbgl.gyp:asset-<(asset_lib)',
|
|
'mbgl.gyp:copy_certificate_bundle',
|
|
],
|
|
|
|
'include_dirs': [
|
|
'../src',
|
|
],
|
|
|
|
'sources': [
|
|
'./offline.cpp',
|
|
],
|
|
|
|
'variables' : {
|
|
'cflags_cc': [
|
|
'<@(boost_cflags)',
|
|
],
|
|
'libraries': [
|
|
'<@(boost_libprogram_options_static_libs)'
|
|
],
|
|
},
|
|
|
|
'conditions': [
|
|
['OS == "mac"', {
|
|
'libraries': [ '<@(libraries)' ],
|
|
'xcode_settings': {
|
|
'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ],
|
|
}
|
|
}, {
|
|
'cflags_cc': [ '<@(cflags_cc)' ],
|
|
'libraries': [ '<@(libraries)' ],
|
|
}]
|
|
],
|
|
},
|
|
],
|
|
}
|