First approach

This commit is contained in:
Daniel García Aubert
2016-08-25 20:04:23 +02:00
parent 752d47d71e
commit ee46549e04
4 changed files with 228 additions and 1 deletions
+7
View File
@@ -31,6 +31,13 @@ This extension introduces a new layer type so it's possible to use a Named Map b
"color": "#000"
},
// OPTIONAL
// object, which own properties can be a layer id or the corresponding layer index of the layergroup.
// the values for these keys can be true or false and indicates if the layer is available (or not) to instantiate the named map.
layer_visibility: {
[ {layer.id} | {layerIndex} ]: [ true | false ];
},
// OPTIONAL
// string array, the authorized tokens in case the Named Map has auth method set to `token`
// See https://github.com/CartoDB/Windshaft-cartodb/blob/master/docs/Map-API.md#named-maps-1 for more details