we would like to resize graphics depending on the zoom level of a map. As png or jpg files get pretty fast blurred we would like to use SVG graphics. I tried to load them as byte array and set the graphics symbol, but this did't work. Any ideas?
Graphic myGraphic= new Graphic
{
Geometry = myGeometry,
Symbol = mySVGSymbol
};
For custom symbols you could consider creating a WPF element then using RenderTargetBitmap to create an image to use as a PictureMarkerSymbol. We currently do not supported SVG symbols.
GraphicsLayer in Dynamic rendering mode should dynamically redraw the symbols to give a smooth experience when zooming in/out?