The keys in the vector tile may not be in alphabetical order. Building a vector of keys by looping over std::map<std::string, …> effectively sorts the keys by alphabetical order without sorting the associated values. This change inserts keys in the same order in which they appear in the vector tile.
46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
"name": "mapbox-gl-native",
|
|
"version": "3.1.3",
|
|
"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"
|
|
},
|
|
"license": "BSD-2-Clause",
|
|
"dependencies": {
|
|
"nan": "^2.3.3",
|
|
"node-pre-gyp": "^0.6.26"
|
|
},
|
|
"devDependencies": {
|
|
"aws-sdk": "^2.3.5",
|
|
"express": "^4.11.1",
|
|
"mapbox-gl-shaders": "mapbox/mapbox-gl-shaders#36278b864e60e1dba937a6863064c03d69526854",
|
|
"mapbox-gl-test-suite": "mapbox/mapbox-gl-test-suite#f45fd7aba98650c7f3bf778c9cbbfd3b548a4ee8",
|
|
"node-gyp": "^3.3.1",
|
|
"request": "^2.72.0",
|
|
"tape": "^4.5.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=4.2.1"
|
|
},
|
|
"scripts": {
|
|
"preinstall": "npm install node-pre-gyp",
|
|
"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 && node platform/node/test/query.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"
|
|
}
|
|
}
|