Select to view content in your preferred language

map area cut off on full extent

4397
13
12-10-2010 02:51 PM
YingLin
Emerging Contributor
I divided the root layout to several grid. one grid has the map. I set the full extent on initialize, but the map still gets cut off on both side (width is more than twice the height). depends on different resolution, the lower the resolution, the more area cut off.
0 Kudos
13 Replies
DominiqueBroux
Esri Frequent Contributor
So, it seems that the issue is coming from the full extent of your ortho photo layer.
Could you verify that the full extent of this layer is bigger than what you see?

Anyway, if you know the extent you need,  a possible workaround is to set the extent of the map in XAML :
<esri:Map Extent=".........
0 Kudos
YingLin
Emerging Contributor
Yes. the extent is correct. and i also tried to put the extent in xaml and in code behind. no luck. But when I use the Dynamic map service layer for the ortho photo, everything is fine.

if use cached map, the extent cuts off. if i create the cached map using jpg instead of png, more area is cut off.
0 Kudos
DominiqueBroux
Esri Frequent Contributor

i also tried to put the extent in xaml and in code behind. no luck.

Do you mean that whatever the map extent you initialize, the result is the same? Looks strange:confused:
0 Kudos
YingLin
Emerging Contributor
yes. and if i cache the map in jpg, more area cut off. if i do not cache the map at all (dynamic), everything works fine.
0 Kudos