Tag Info

New answers tagged

0

syntax in general: var layer_sum=0; for(var i=0;i<vlayer.features.length;i++) { layer_sum=layer_sum+vlayer.features[i].attributes.count; } console.log(layer_sum); depending on the question if you want to parse values as int / float you could replace the row then with layer_sum=layer_sum+vlayer.features[i].attributes.count; with ...


0

Try to use Extjs 3.4 instead of ExtJS4: <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.4.0/adapter/ext/ext-base.js"></script> <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.4.0/ext-all.js"></script> <link rel="stylesheet" type="text/css" ...


0

For someone who may need the answer in the future I solved the problem by changing the definition of the node slightly: { plugins: ['gx_layer'], text: "Area progetto", layer: area_progetto, iconCls: 'area_progetto', onCheckChange: true }


0

You will have to request your layer in the correct srs and transform the bbox you grabbed from the clone variable



Top 50 recent answers are included