With the WPF api i had the option to of "IsLogoVisible".
but i cant find any property with in the Map\MapView api ref...
any ideas?
Shahar.
Solved! Go to Solution.
Hi,
Currently there is no public property to hide the logo - we will consider adding one in a future release.
It is possible to hide the logo - but note that you still need to attribute Esri as follows (Deploy an app—ArcGIS Runtime SDK for .NET | ArcGIS for Developers):
To hide the logo you will need to customize the MapView's template - here is an example with the Logo image commented out:
<Window.Resources> <Style x:Key="NoLogoStyle" TargetType="{x:Type esri:ViewBase}"> <Setter Property="IsTabStop" Value="true" /> <Setter Property="Background" Value="Transparent" /> <Setter Property="IsManipulationEnabled" Value="True" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="esri:ViewBase"> <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"> <Grid x:Name="MapSurface" Width="Auto" Height="Auto" > <Rectangle x:Name="ZoomBox" Fill="#55FFFFFF" Stroke="Red" StrokeThickness="2" Visibility="Collapsed" /> <!--<Image Source="..." x:Name="EsriLogo" HorizontalAlignment="Left" VerticalAlignment="Bottom" Stretch="Fill" Margin="10" IsHitTestVisible="False" Width="56" Height="32" />--> <Border x:Name="Overlay" /> </Grid> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style> </Window.Resources> <Grid> <esri:MapView x:Name="MyMapView" Style="{StaticResource NoLogoStyle}"> <esri:Map> <esri:ArcGISTiledMapServiceLayer ID="Basemap" ServiceUri="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/> </esri:Map> </esri:MapView> </Grid>
Cheers
Mike
Hi,
Currently there is no public property to hide the logo - we will consider adding one in a future release.
It is possible to hide the logo - but note that you still need to attribute Esri as follows (Deploy an app—ArcGIS Runtime SDK for .NET | ArcGIS for Developers):
To hide the logo you will need to customize the MapView's template - here is an example with the Logo image commented out:
<Window.Resources> <Style x:Key="NoLogoStyle" TargetType="{x:Type esri:ViewBase}"> <Setter Property="IsTabStop" Value="true" /> <Setter Property="Background" Value="Transparent" /> <Setter Property="IsManipulationEnabled" Value="True" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="esri:ViewBase"> <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"> <Grid x:Name="MapSurface" Width="Auto" Height="Auto" > <Rectangle x:Name="ZoomBox" Fill="#55FFFFFF" Stroke="Red" StrokeThickness="2" Visibility="Collapsed" /> <!--<Image Source="..." x:Name="EsriLogo" HorizontalAlignment="Left" VerticalAlignment="Bottom" Stretch="Fill" Margin="10" IsHitTestVisible="False" Width="56" Height="32" />--> <Border x:Name="Overlay" /> </Grid> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style> </Window.Resources> <Grid> <esri:MapView x:Name="MyMapView" Style="{StaticResource NoLogoStyle}"> <esri:Map> <esri:ArcGISTiledMapServiceLayer ID="Basemap" ServiceUri="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/> </esri:Map> </esri:MapView> </Grid>
Cheers
Mike
<esri:Map.IsLogoVisible>false</esri:Map.IsLogoVisible>
Help remove the logo.
I dont know how to set it to false.
the logo is still there thanks.
thanks
You can set the MapView's IsLogoVisible property to False, like this ...
<esri:MapView x:Name="MyMapView" IsLogoVisible="False">
Remember that if your application uses data served by Esri through ArcGIS Online, you must display this logo.
Great point from Antti - you can read about the requirements for attributing Esri and use of the logo here: License your app—ArcGIS Runtime SDK for .NET | ArcGIS for Developers
Cheers