Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
335
Setting BackGround image
posted

Hi.

I have a shape file Im loading as layer to the xamMap. Now I want to add background image. Is this possible with xamMap. (My background image should be coneccted with coordinate system of the shape file, and move, zoom together with a shapes.

Parents
No Data
Reply
  • 3255
    posted

    Hi grabah,

     We have been looking into your requirement and it seems that it can be achieved through custom Map tile source, so that the image is panned and zoomed properly. Please take a look at this post:http://community.infragistics.com/forums/p/52746/278340.aspx.

    To set static background try the following code:

                    <igMap:XamMap.ViewportBackground>
                        <ImageBrush ImageSource="/Images/Background.png" Stretch="UniformToFill"/>
                    </igMap:XamMap.ViewportBackground>

    Regards,

    Ivan Kotev

Children