Select to view content in your preferred language

Map Background  Image

2357
3
Jump to solution
04-11-2013 10:48 AM
EnriqueIbarra
Deactivated User
Is it possible?
I mean, I want to establish a common image as my Map Background; so if I turn off all my layers, the background image will be shown.
0 Kudos
1 Solution

Accepted Solutions
EnriqueIbarra
Deactivated User
Finally i knew how do it. Within the Esri Map add an Esri ElementLayer and define the propertie ID, then add an Image control and set the source and the Esri ElementLayer Envelope. Like this:

<esri:Map x:Name="MyMap" WrapAround="True" Extent="-26976187.330, -7196067.417, 13098829.356, 13158690.900" Background="White" Foreground="White" MouseClick="MyMap_MouseClick" ExtentChanged="MyMap_ExtentChanged">                 <esri:ElementLayer ID="Background">                     <Image Source="/TestPage;component/Images/BackgroundGM1.jpg" esri:ElementLayer.Envelope="-26976187.330, -7196067.417, 13098829.356, 13158690.900"/>                 </esri:ElementLayer> 

View solution in original post

0 Kudos
3 Replies
DominiqueBroux
Esri Frequent Contributor
You can use an element layer and set the background image as an element of this layer: sample with a video.
0 Kudos
EnriqueIbarra
Deactivated User
You can use an element layer and set the background image as an element of this layer: sample with a video.


Thanks Dominique! I haven't think in that, but can you show me how can I use this? the example show how to put a video, but I need an image, what properties do I have to set and how?
0 Kudos
EnriqueIbarra
Deactivated User
Finally i knew how do it. Within the Esri Map add an Esri ElementLayer and define the propertie ID, then add an Image control and set the source and the Esri ElementLayer Envelope. Like this:

<esri:Map x:Name="MyMap" WrapAround="True" Extent="-26976187.330, -7196067.417, 13098829.356, 13158690.900" Background="White" Foreground="White" MouseClick="MyMap_MouseClick" ExtentChanged="MyMap_ExtentChanged">                 <esri:ElementLayer ID="Background">                     <Image Source="/TestPage;component/Images/BackgroundGM1.jpg" esri:ElementLayer.Envelope="-26976187.330, -7196067.417, 13098829.356, 13158690.900"/>                 </esri:ElementLayer> 
0 Kudos