Re: [OpenLayers-Users] Styling OpenLayer.Control.AgsQueryTask

2010-08-17 Thread Frank
Hi, Problem mostly solved... I finded out where it gets drawed: AgsControl.js, line 457: if(this.displayResults === true) { this.showResults(); } then it does this.layer.addFeature(this._resultFeatures); So I guess the solution if I wanted custom style would be to add a styleMap to this.lay

[OpenLayers-Users] Styling OpenLayer.Control.AgsQueryTask

2010-08-17 Thread Frank
Hi, I'm already able to style a layer, using the styleMap. But what I really want to do is when I do a esri query for all STATES (in United States), to just get the list of features in the callback and do any drawing myself. What it does right now is that it draws by default a semi-opaque orange