I want to overlay a .png image onto a 2d map and have it behave in the same way as graphics do (i.e. be able to update it's geometry and have it maintain it's actual size so when you zoom out it gets smaller and zoom in it gets bigger).
I have tried using PictureMarkerSymbol, but that seems to maintain it's size when zoomed in/out, and I've also tried PictureFillSymbol but the fill seems to change as you zoom in/out and tiles the image.
Currently, I am doing it using KML Ground Overlay. But as I am animating the image (updating it's location at a minimum once per second) I'm not sure if this is the best way. I am wondering if there is a better solution?
Uri img = new Uri(pathToImgFile);
KmlIcon overlayImg = new KmlIcon(img);
var polygonImg = new Polygon(new List<MapPoint> { defaultPoint, defaultPoint, defaultPoint, defaultPoint});
KmlGroundOverlay overlay = new KmlGroundOverlay(polygonImg, overlayImg);
KmlDataset dataset = new KmlDataset(overlay);
KmlLayer layer = new KmlLayer(dataset);
map.OperationalLayers.Add(layer);
Thanks