Raster Layer

768
3
05-22-2013 03:37 PM
Labels (1)
RyanNoble
New Contributor
I'm trying overlay an image (as memory stream) on top of a basemap. I have a location for each image frame (in the same spatial reference as basemap). I need to do this in code, not using ArcMaps or some other external tool. It seems like this should be a common feature. Are there examples for doing this?
0 Kudos
3 Replies
MichaelBranscomb
Esri Frequent Contributor
Hi,

Yes, you should look at creating a new layer class which derives from DynamicLayer (http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html?ESRI.ArcGIS.Client~ESRI.ArcGIS.Cli...) - the HeatMap layer in the Toolkit.Datasources assembly demonstrates this. You can find the source code on http://esrisilverlight.codeplex.com/.

Cheers

Mike
0 Kudos
RyanNoble
New Contributor
Thanks, this should be useful. I need to look at it more carefully to make sure it will truly help me. Do you have any additional examples? Particularly for doing multiple bitmaps (like a mosaic) in one layer.
0 Kudos
RyanNoble
New Contributor
I've been working with the heatmap example. I'm trying to only draw the bitmap in a small location defined by lat/lon coords. I've tried changing the Layer's overridden FullExtent property to the small area, but the bitmap is still being drawn across the entire screen. Can I get some help with this?
0 Kudos