Add support for creating layergroups via GET
This commit is contained in:
parent
106e95940d
commit
113b70cf98
3
NEWS.md
3
NEWS.md
@ -3,10 +3,11 @@
|
|||||||
|
|
||||||
* Handle SQL API errors by requesting no Varnish cache
|
* Handle SQL API errors by requesting no Varnish cache
|
||||||
* Fix X-Cache-Channel for multilayer (by token) responses
|
* Fix X-Cache-Channel for multilayer (by token) responses
|
||||||
* Add last_modified field to POST layergroup response (#72)
|
* Add last_modified field to layergroup creation response (#72)
|
||||||
* Deprecate signal handler for USR1, add handler for USR2 (#71)
|
* Deprecate signal handler for USR1, add handler for USR2 (#71)
|
||||||
* Fix support for ampersend characters in CartoCSS
|
* Fix support for ampersend characters in CartoCSS
|
||||||
* Add support for LZMA compressed GET parameters
|
* Add support for LZMA compressed GET parameters
|
||||||
|
* Add support for creating layergroups via GET
|
||||||
|
|
||||||
1.1.8
|
1.1.8
|
||||||
-----
|
-----
|
||||||
|
@ -216,9 +216,8 @@ module.exports = function(){
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
me.afterLayergroupCreate = function(req, response, callback) {
|
me.afterLayergroupCreate = function(req, mapconfig, response, callback) {
|
||||||
var token = response.layergroupid;
|
var token = response.layergroupid;
|
||||||
var mapconfig = req.body;
|
|
||||||
|
|
||||||
var sql = [];
|
var sql = [];
|
||||||
_.each(mapconfig.layers, function(lyr) {
|
_.each(mapconfig.layers, function(lyr) {
|
||||||
|
6
npm-shrinkwrap.json
generated
6
npm-shrinkwrap.json
generated
@ -32,7 +32,7 @@
|
|||||||
"version": "0.8.3"
|
"version": "0.8.3"
|
||||||
},
|
},
|
||||||
"npm": {
|
"npm": {
|
||||||
"version": "1.2.15",
|
"version": "1.2.16",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"semver": {
|
"semver": {
|
||||||
"version": "1.1.4"
|
"version": "1.1.4"
|
||||||
@ -98,7 +98,7 @@
|
|||||||
"version": "2.3.0"
|
"version": "2.3.0"
|
||||||
},
|
},
|
||||||
"node-gyp": {
|
"node-gyp": {
|
||||||
"version": "0.9.3"
|
"version": "0.9.5"
|
||||||
},
|
},
|
||||||
"fstream-npm": {
|
"fstream-npm": {
|
||||||
"version": "0.1.4",
|
"version": "0.1.4",
|
||||||
@ -190,7 +190,7 @@
|
|||||||
"version": "1.3.3"
|
"version": "1.3.3"
|
||||||
},
|
},
|
||||||
"windshaft": {
|
"windshaft": {
|
||||||
"version": "0.10.0",
|
"version": "0.11.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"grainstore": {
|
"grainstore": {
|
||||||
"version": "0.12.0",
|
"version": "0.12.0",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"name": "windshaft-cartodb",
|
"name": "windshaft-cartodb",
|
||||||
"version": "1.2.0",
|
"version": "1.1.9",
|
||||||
"description": "A map tile server for CartoDB",
|
"description": "A map tile server for CartoDB",
|
||||||
"url": "https://github.com/Vizzuality/Windshaft-cartodb",
|
"url": "https://github.com/Vizzuality/Windshaft-cartodb",
|
||||||
"licenses": [{
|
"licenses": [{
|
||||||
|
Loading…
Reference in New Issue
Block a user