<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to avoid the floating effect of navigation tool? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671112#M17267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I notice that the navigation tool has a floating effect, that is when you move the mouse on it, it will get bigger and the color gets darker (opaque), but once you move the mouse away, it will become smaller and transparent. Any suggestion to solve that? I want to make the navigation's color opaque, dont want it change to transparent. Should I do it in expression? Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Nov 2010 17:37:56 GMT</pubDate>
    <dc:creator>DanDong</dc:creator>
    <dc:date>2010-11-29T17:37:56Z</dc:date>
    <item>
      <title>how to avoid the floating effect of navigation tool?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671112#M17267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I notice that the navigation tool has a floating effect, that is when you move the mouse on it, it will get bigger and the color gets darker (opaque), but once you move the mouse away, it will become smaller and transparent. Any suggestion to solve that? I want to make the navigation's color opaque, dont want it change to transparent. Should I do it in expression? Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 17:37:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671112#M17267</guid>
      <dc:creator>DanDong</dc:creator>
      <dc:date>2010-11-29T17:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the floating effect of navigation tool?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671113#M17268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can change the Navigation control template. Kindly see this blog: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/05/20/Use-control-templates-to-customize-the-look-and-feel-of-ArcGIS-controls.aspx"&gt;http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/05/20/Use-control-templates-to-customize-the-look-and-feel-of-ArcGIS-controls.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can see in the default template's VisualStateManager include "Normal" and "MouseOver" states which changes the Opacity of the whole Grid.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 18:08:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671113#M17268</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-11-29T18:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the floating effect of navigation tool?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671114#M17269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You can change the Navigation control template. Kindly see this blog: &lt;A href="http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/05/20/Use-control-templates-to-customize-the-look-and-feel-of-ArcGIS-controls.aspx" rel="nofollow noopener noreferrer" target="_blank"&gt;http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/05/20/Use-control-templates-to-customize-the-look-and-feel-of-ArcGIS-controls.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can see in the default template's VisualStateManager include "Normal" and "MouseOver" states which changes the Opacity of the whole Grid.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Jennifer! But I notice that in both Normal and Mouseover, the opacities used are the same (Storyboard.TargetProperty="(UIElement.Opacity)")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;VisualState x:Name="Normal"&amp;gt;
&amp;lt;Storyboard&amp;gt;
&amp;lt;DoubleAnimation Duration="0:0:0.1" To="0.75" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="LayoutRoot"/&amp;gt;
&amp;lt;DoubleAnimation Duration="0:0:0.1" To="0.75" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="LayoutRoot"/&amp;gt;
&amp;lt;DoubleAnimation BeginTime="00:00:00" Duration="0:0:0.1" To="0.25" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="LayoutRoot"/&amp;gt;
&amp;lt;/Storyboard&amp;gt;
&amp;lt;/VisualState&amp;gt;

&amp;lt;VisualState x:Name="MouseOver"&amp;gt;
&amp;lt;Storyboard&amp;gt;
&amp;lt;DoubleAnimation BeginTime="00:00:00" Duration="0:0:0.1" To="1" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="LayoutRoot"/&amp;gt;
&amp;lt;DoubleAnimation BeginTime="00:00:00" Duration="0:0:0.1" To="1" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="LayoutRoot"/&amp;gt;
&amp;lt;DoubleAnimation BeginTime="00:00:00" Duration="0:0:0.1" To="0.75" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="LayoutRoot"/&amp;gt;
&amp;lt;/Storyboard&amp;gt;
&amp;lt;/VisualState&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:19:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671114#M17269</guid>
      <dc:creator>DanDong</dc:creator>
      <dc:date>2021-12-12T04:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the floating effect of navigation tool?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671115#M17270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;They are similar but the To property of the DoubleAnimation is different, for Normal state it is to "0.25", for MouseOver state it is to "0.75" You can either remove this animation so Opacity will stay at 1, or update the animation to a number that is less opaque.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 20:02:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671115#M17270</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-11-29T20:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the floating effect of navigation tool?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671116#M17271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok, I got it. Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By changing the 0.25 to 0.75, then I can get the same opacity when "Normal" and "MouseOver"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;DoubleAnimation BeginTime="00:00:00" Duration="0:0:0.1" To="0.25" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="LayoutRoot"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other question is about the Zoomcontainer, I attach two pictures of this problem. The first one is under the expression, the container is in its right shape, a rectangle. The second one is when run the project, the container becomes shorter...I don't know why this happen.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 20:06:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671116#M17271</guid>
      <dc:creator>DanDong</dc:creator>
      <dc:date>2010-11-29T20:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the floating effect of navigation tool?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671117#M17272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is expected when the map's resolution has not been set. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once you add a layer to your map that will define it's resolution (Minimum, Maximum and current), you should be able to see the ZoomSlider.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 21:00:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671117#M17272</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-11-29T21:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the floating effect of navigation tool?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671118#M17273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This is expected when the map's resolution has not been set. &lt;BR /&gt;&lt;BR /&gt;Once you add a layer to your map that will define it's resolution (Minimum, Maximum and current), you should be able to see the ZoomSlider.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have added layers to the map. So I think the resolution has been set. But still, when I run the project, I still get the shorter slidebar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;esri:Map x:Name="MyMap" ExtentChanged="MyMap_ExtentChanged" Background="LightGray" Grid.Column="1" Grid.Row="2"&amp;nbsp; IsLogoVisible="False"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;esri:ArcGISDynamicMapServiceLayer ID="ecocat_images"
Url="http://rmms-dev.atlas.illinois.edu/ArcGIS/rest/services/ecocat_images/MapServer"
Initialized="ArcGISDynamicMapServiceLayer1_Initialized"/&amp;gt;
&amp;lt;esri:ArcGISDynamicMapServiceLayer ID="ecocats"
Url="http://rmms-dev.atlas.illinois.edu/ArcGIS/rest/services/ecocats/MapServer"
Initialized="ArcGISDynamicMapServiceLayer_Initialized"/&amp;gt;
&amp;lt;esri:GraphicsLayer ID="MeasureGraphicsLayer"/&amp;gt;
&amp;lt;esri:GraphicsLayer x:Name="MyLayer" ID="MyGraphicsLayer"/&amp;gt;
&amp;lt;/esri:Map&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:19:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671118#M17273</guid>
      <dc:creator>DanDong</dc:creator>
      <dc:date>2021-12-12T04:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the floating effect of navigation tool?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671119#M17274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh I see, if you do not have a Tiled layer, the MinimumResolution and MaximumResolution of the map is not set. Therefore the Navigation control will not know how to set the ZoomSlider's Minimum and Maximum value. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you can do is set these properties on the map to a value that may be meaningful to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt; &amp;lt;esri:Map x:Name="MyMap"&amp;nbsp;&amp;nbsp; MinimumResolution="0.0000107288360595703" MaximumResolution="0.3515625"&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 21:51:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671119#M17274</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-11-29T21:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the floating effect of navigation tool?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671120#M17275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Oh I see, if you do not have a Tiled layer, the MinimumResolution and MaximumResolution of the map is not set. Therefore the Navigation control will not know how to set the ZoomSlider's Minimum and Maximum value. &lt;BR /&gt;&lt;BR /&gt;What you can do is set these properties on the map to a value that may be meaningful to you.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt; &amp;lt;esri:Map x:Name="MyMap"&amp;nbsp;&amp;nbsp; MinimumResolution="0.0000107288360595703" MaximumResolution="0.3515625"&amp;gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Jennifer! I added this "MaximumResolution="1.7976931348623157E+308" MinimumResolution="0.001" " in MyMap, right now, when run the project, the slidebar can have a full length, but it seems it doesn't work. When I drag up or down the little thing in the slidebar, the map can't be zoomed in or out. Do we have something missing in the code?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 02:37:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671120#M17275</guid>
      <dc:creator>DanDong</dc:creator>
      <dc:date>2010-11-30T02:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the floating effect of navigation tool?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671121#M17276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;I added this "MaximumResolution="1.7976931348623157E+308" &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the infinity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The slider is not designed to make interpolation until infinity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please try with a lower value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's difficult to give you a value which makes sense because it's depending on your map units (it's why I don't like these resolution properties but I am very 'old school' :))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess the best is you to experiment with different values.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 08:25:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671121#M17276</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-11-30T08:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid the floating effect of navigation tool?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671122#M17277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This is the infinity.&lt;BR /&gt;The slider is not designed to make interpolation until infinity.&lt;BR /&gt; &lt;BR /&gt;Please try with a lower value.&lt;BR /&gt;It's difficult to give you a value which makes sense because it's depending on your map units (it's why I don't like these resolution properties but I am very 'old school' :))&lt;BR /&gt;I guess the best is you to experiment with different values.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Dominique! I change it to this MaximumResolution="1.7976931348623157E+5" . Right now the slidebar is working &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 12:27:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-avoid-the-floating-effect-of-navigation/m-p/671122#M17277</guid>
      <dc:creator>DanDong</dc:creator>
      <dc:date>2010-11-30T12:27:09Z</dc:date>
    </item>
  </channel>
</rss>

