var image = new BitmapImage(new Uri(filePath)); var newLayer = new ElementLayer(); var rect = new Rectangle(); rect.SetValue(ESRI.ArcGIS.Client.ElementLayer.EnvelopeProperty, convertedEnvelope); rect.Fill = new ImageBrush(image); newLayer.Children.Add(rect); _esriMap.Layers.Add(newLayer);
i have tried this solution , but i guess it doesn't work with non-geo-referenced images , is there a solution for these type of images like normal BMP and JPG files?
Hi,
If the images are not georeferenced, do you have other information which tells you where in the world they should be positioned?
Cheers
Mike