Select to view content in your preferred language

Issues with MapImage

2152
1
11-05-2013 07:05 AM
StephanieHoller
New Contributor
Using:
ArcGIS API for Flex 2.5
Flash Builder 4.6
Browser: IE and Firefox

var mapImage:MapImage = new MapImage();
var mapImageExtent:Extent = new Extent(Number(externalLayer.xmin), Number(externalLayer.ymin),
                        Number(externalLayer.xmax), Number(externalLayer.ymax), map.spatialReference);
mapImage.extent=mapImageExtent;
mapImage.href = externalLayer.url;
mapImageLayer.add(mapImage);

Everything works great when the Image is added to the map.  However when you move the map or zoom the image size changes.
The upper left corner is where it is suppose to be but the other 3 corners shift closer to the upper left and stay that way.

In my searching I found this which I think two others were having the same issues and did not get answers
http://forums.arcgis.com/threads/49060-some-exception-with-mapimagelayer

I would be more than happy to provide more information if needed.  If this is a known issue in ArcGIS API for Flex 2.5 that would be great to know.
Tags (2)
0 Kudos
1 Reply
YueWu1
by Esri Regular Contributor
Esri Regular Contributor
Better to upgrade to newer version of the Flex API 3.5 to see if the issue still have.
http://www.esri.com/apps/products/download/index.cfm?fuseaction=download.main&downloadid=1027
0 Kudos