Select to view content in your preferred language

ESRI LOGO

1128
5
09-27-2010 11:30 AM
DavidAshton
Frequent Contributor
When working with the templates, how do I change out the ESRI logo with my own (logo in the lower right corner of the app.)?
Thanks
David
0 Kudos
5 Replies
dotMorten_esri
Esri Notable Contributor
Set IsLogoVisible = false, and place your own element there.
You might want to read the terms of use first though. There are some cases where having the ESRI (and Bing logo) visible is required.
0 Kudos
PaulLeedham
Deactivated User
When working with the templates, how do I change out the ESRI logo with my own (logo in the lower right corner of the app.)?
Thanks
David


1. Set IsLogoVisible = "False"
2. Add your own image by using a PNG and positioning the image as follows:
<Image HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,8,8" Source="PATH TO IMAGE" Width="IMAGE WIDTH" Height="IMAGE HEIGHT" ></Image>
0 Kudos
ShaningYu
Honored Contributor
Paul:
I searched through the MainPage.xmal but could not find  IsLogoVisible.
Besides, I could not locate the place for

<Image HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,8,8" Source="PATH TO IMAGE" Width="IMAGE WIDTH" Height="IMAGE HEIGHT" ></Image>

Wish you can kindly respond my question.  Thanks.
0 Kudos
PaulLeedham
Deactivated User
Here is some simple XAML code that will hide the logo and add your own image in the bottom right corner of the map:

<UserControl x:Class="ArcGISSilverlightSDK.Map"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:esri="http://schemas.esri.com/arcgis/client/2009">
    <Grid x:Name="LayoutRoot" >

        <esri:Map x:Name="MyMap" IsLogoVisible="False">           
            <esri:ArcGISTiledMapServiceLayer ID="MyLayer"
                Url="http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer" />
        </esri:Map>

<Image HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,8,8" Source="PATH TO IMAGE" Stretch="None"></Image>

    </Grid>
</UserControl>
0 Kudos
ShaningYu
Honored Contributor
Paul:
Thanks so much.  It works now.
Shaning
0 Kudos