[OpenLayers-Users] context in Rule

2010-01-11 Thread Yves Jacolin (free)
Hi, I would llike to use a context in Rule object. the code below doesn't seems to work. How can I debug this? Do you see something wrong? var context = { getEvolution: function(feature) { var region = parseInt(((feature.attributes['NBR2009'] - feature.attributes['NBR2008']) /

Re: [OpenLayers-Users] context in Rule

2010-01-11 Thread Eric Lemoine
On Mon, Jan 11, 2010 at 8:28 PM, Yves Jacolin (free) yjaco...@free.fr wrote: Hi, I would llike to use a context in Rule object. the code below doesn't seems to work. How can I debug this? Do you see something wrong? var context = {   getEvolution: function(feature) {     var region =