asadim

Constant opacity when overlapping graphics

Discussion created by asadim on May 7, 2010
Latest reply on May 19, 2010 by asadim
Hi,

I have a buffer search that returns some results on the map. The results are then displayed with a solid circle around them. The problem is, when these buffer circles overlap each other they get darker. Is there a way I could make them preserve their opacity when they overlap?

Here's the piece of code:
geoService.buffer(params, dojo.hitch(this, function(graphics) {
 //console.debug("Buffer completed");
 var symbol = new esri.symbol.SimpleFillSymbol("solid", new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_NULL), new dojo.Color([255, 255, 0, 0.5]));
 var gBuffer = new esri.Graphic(graphics[0].geometry, symbol);
 
 this.map.graphics.add(gBuffer);
}));

Outcomes