Instead of using the absolute value of the sum of angles, use the sum of the absolute values of angles. This helps avoid labels on lines with sharp zig zags. for example, the "Central Campus Mall" label in issue #2998
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"name": "mapbox-gl-native",
|
|
"version": "2.2.2",
|
|
"description": "Renders map tiles with Mapbox GL",
|
|
"keywords": [
|
|
"mapbox",
|
|
"gl"
|
|
],
|
|
"main": "lib/mapbox-gl-native.node",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/mapbox/mapbox-gl-native.git"
|
|
},
|
|
"licenses": [
|
|
{
|
|
"type": "BSD",
|
|
"url": "https://github.com/mapbox/mapbox-gl-native/blob/master/LICENSE.md"
|
|
}
|
|
],
|
|
"dependencies": {
|
|
"nan": "^2.1.0",
|
|
"node-pre-gyp": "^0.6.17"
|
|
},
|
|
"bundledDependencies": [
|
|
"node-pre-gyp"
|
|
],
|
|
"devDependencies": {
|
|
"aws-sdk": "^2.2.21",
|
|
"mapbox-gl-test-suite": "mapbox/mapbox-gl-test-suite#2f4d8ed044a3c962a43d62de0608b752eb68052c",
|
|
"node-gyp": "^3.2.1",
|
|
"request": "^2.67.0",
|
|
"tape": "^4.2.2"
|
|
},
|
|
"scripts": {
|
|
"install": "node-pre-gyp install --fallback-to-build=false || make node",
|
|
"test": "tape platform/node/test/js/**/*.test.js",
|
|
"test-suite": "node platform/node/test/render.test.js"
|
|
},
|
|
"gypfile": true,
|
|
"binary": {
|
|
"module_name": "mapbox-gl-native",
|
|
"module_path": "./lib/",
|
|
"host": "https://mapbox-node-binary.s3.amazonaws.com",
|
|
"remote_path": "./{name}/v{version}",
|
|
"package_name": "{node_abi}-{platform}-{arch}.tar.gz"
|
|
}
|
|
}
|