I need to have multiple image files displayed in a layer based on an extent provided by the user. I have this working now using the gdirasterlayer, but with this I end up with many layers and this is inefficient. The World Sized Image Style project in the code community is very similar to what I need to do, but using this example, I have many ships with different layouts/images. How can I do this with multiple images at multiple locations?
Multiple features with image backgrounds
Anyone have any idea how I can do this?
David,
A few questions and some comments. As for the inefficiency do you mean that you do not want to have more layers in your collection? One option is that you can use a GroupLayer which has a layers collection on it. Each image can be a separate layer that all all rolled up into one GroupLayer. In your layer collection it is only one layer. It is efficient also and about as efficient as anything else. Even if you did something like in the code community sample the same amount of work as to get done either way.
David