Solved! Go to Solution.
private void FeatureLayer_MouseEnter(object sender, GraphicMouseEventArgs e) { MyMap.Cursor = Cursors.Hand; } private void FeatureLayer_MouseLeave(object sender, GraphicMouseEventArgs e) { MyMap.Cursor = Cursors.Arrow; }
Map has a Cursor property, FeatureLayer has MouseEnter, MouseLeave events.
private void FeatureLayer_MouseEnter(object sender, GraphicMouseEventArgs e) { MyMap.Cursor = Cursors.Hand; } private void FeatureLayer_MouseLeave(object sender, GraphicMouseEventArgs e) { MyMap.Cursor = Cursors.Arrow; }
private void MapMouseMove(object sender, MouseEventArgs mouseEventArgs) { MapPoint mapPoint = MyMap.ScreenToMap(mouseEventArgs.GetPosition(MyMap)); MyMap.Cursor = MyFeatureLayer.FullExtent.Intersects(mapPoint) ? Cursors.Hand : Cursors.Arrow; }