<?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 Re: FeatureLayer Mouse over cursor in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-mouse-over-cursor/m-p/54821#M1412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On you map add a MouseMove event handler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
private void MapMouseMove(object sender, MouseEventArgs mouseEventArgs)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; MapPoint mapPoint = MyMap.ScreenToMap(mouseEventArgs.GetPosition(MyMap));
&amp;nbsp;&amp;nbsp;&amp;nbsp; MyMap.Cursor = MyFeatureLayer.FullExtent.Intersects(mapPoint) ? Cursors.Hand : Cursors.Arrow;
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will change the Cursor anytime it is inside the extent of the FeatureLayer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 22:05:10 GMT</pubDate>
    <dc:creator>JoeHershman</dc:creator>
    <dc:date>2021-12-10T22:05:10Z</dc:date>
    <item>
      <title>FeatureLayer Mouse over cursor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-mouse-over-cursor/m-p/54817#M1408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a featurelayers in mymap. How can I change my mouse cursor over the layer? Default cursor is Arrow. If I get over a layer, cursor should be Handle.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 13:26:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-mouse-over-cursor/m-p/54817#M1408</guid>
      <dc:creator>bayramüçüncü</dc:creator>
      <dc:date>2012-06-04T13:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer Mouse over cursor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-mouse-over-cursor/m-p/54818#M1409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Map has a Cursor property, FeatureLayer has MouseEnter, MouseLeave events.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 14:06:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-mouse-over-cursor/m-p/54818#M1409</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2012-06-04T14:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer Mouse over cursor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-mouse-over-cursor/m-p/54819#M1410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Map has a Cursor property, FeatureLayer has MouseEnter, MouseLeave events.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes it has properties but not change mouse cursor. Some controls has cursor property, but featurelayer has not cursor property. So I cannot apply this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 06:01:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-mouse-over-cursor/m-p/54819#M1410</guid>
      <dc:creator>bayramüçüncü</dc:creator>
      <dc:date>2012-06-05T06:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer Mouse over cursor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-mouse-over-cursor/m-p/54820#M1411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As Joe suggested, you can change the cursor when hovering a feature by wiring up the MouseEnter and MouseLeave FeatureLayer events.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can change the cursor with code like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;private void FeatureLayer_MouseEnter(object sender, GraphicMouseEventArgs e) { &amp;nbsp; MyMap.Cursor = Cursors.Hand; } private void FeatureLayer_MouseLeave(object sender, GraphicMouseEventArgs e) { &amp;nbsp; MyMap.Cursor = Cursors.Arrow; } &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 06:11:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-mouse-over-cursor/m-p/54820#M1411</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-06-05T06:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer Mouse over cursor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-mouse-over-cursor/m-p/54821#M1412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On you map add a MouseMove event handler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
private void MapMouseMove(object sender, MouseEventArgs mouseEventArgs)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; MapPoint mapPoint = MyMap.ScreenToMap(mouseEventArgs.GetPosition(MyMap));
&amp;nbsp;&amp;nbsp;&amp;nbsp; MyMap.Cursor = MyFeatureLayer.FullExtent.Intersects(mapPoint) ? Cursors.Hand : Cursors.Arrow;
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will change the Cursor anytime it is inside the extent of the FeatureLayer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:05:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-mouse-over-cursor/m-p/54821#M1412</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2021-12-10T22:05:10Z</dc:date>
    </item>
  </channel>
</rss>

