AnsweredAssumed Answered

Setting Renderer on GraphicsLayer

Question asked by orzundher on Feb 29, 2016
Latest reply on Oct 24, 2016 by brianj_cbp

Hello, Im trying to set a renderer on a new GraphicsLayer. The GraphicsLayer hat a group of graphics with their own Symbols. The renderer symbol are not applied to this graphics.


GraphicsLayer gLayer = new GraphicsLayer(webmercator, projected_extent, GraphicsLayer.RenderingMode.DYNAMIC);
Graphic pointGraphic = new Graphic(point_projected, new SimpleMarkerSymbol(Color.BLUE, 10, CIRCLE));

SimpleMarkerSymbol simpleMarkerSymbol = new SimpleMarkerSymbol(Color.RED, 20, CIRCLE);
SimpleRenderer simpleRenderer = new SimpleRenderer(simpleMarkerSymbol);




After addLayer the graphics uses the blue circle symbol instead the renderer with red circles symbol.


Thanks for the help and best Regards,