<?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: Strange behavior of DirectlyOver method in manipulation scenarios in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/strange-behavior-of-directlyover-method-in/m-p/566563#M14585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using the Map's MapGesture Hold? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Moving a MapPoint is supported by EditVertices. You can either move the point using your mouse or using touch. They should behave the same way - for mouse: you press on MouseLeftButtonDown, move the mouse and release to let go; for touch: you touch down on graphic, move your touch to drag the item and touch up to let go.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you saying the graphic you choose to move does not move, instead another graphic is moved? Or are you simply looking for an event to know which graphic was moved?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Oct 2010 17:29:24 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2010-10-27T17:29:24Z</dc:date>
    <item>
      <title>Strange behavior of DirectlyOver method in manipulation scenarios</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/strange-behavior-of-directlyover-method-in/m-p/566562#M14584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to use the manipulation "hold" event on a map point to allow moving it, and some of the code behaves strangely. Note: since the editor can't use EditVertices with map points,all my graphic objects have a geometry that uses MultiPoint with one map point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The scenario is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. capturing "hold" manipulation event&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. calling DirectlyOver on event arg to get the touched graphics (using a graphics layer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;']&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For some reason the DirectlyOver method returns a graphic object different from the graphic that is in the layer - the attributes are the same, but the geometry contains a MapPoint instead of a MultiPoint. If my layer contains graphics with MapPoint geometry (intead of MultiPoint), then the DirectlyOver returns the exact graphic object (same reference).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What causes this behavior? how can I use the editor to move map points over a map, while my map control uses manipulation events?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 15:52:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/strange-behavior-of-directlyover-method-in/m-p/566562#M14584</guid>
      <dc:creator>IdoFlatow</dc:creator>
      <dc:date>2010-10-27T15:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behavior of DirectlyOver method in manipulation scenarios</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/strange-behavior-of-directlyover-method-in/m-p/566563#M14585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using the Map's MapGesture Hold? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Moving a MapPoint is supported by EditVertices. You can either move the point using your mouse or using touch. They should behave the same way - for mouse: you press on MouseLeftButtonDown, move the mouse and release to let go; for touch: you touch down on graphic, move your touch to drag the item and touch up to let go.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you saying the graphic you choose to move does not move, instead another graphic is moved? Or are you simply looking for an event to know which graphic was moved?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 17:29:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/strange-behavior-of-directlyover-method-in/m-p/566563#M14585</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-10-27T17:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behavior of DirectlyOver method in manipulation scenarios</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/strange-behavior-of-directlyover-method-in/m-p/566564#M14586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Are you using the Map's MapGesture Hold? &lt;BR /&gt;&lt;BR /&gt;Moving a MapPoint is supported by EditVertices. You can either move the point using your mouse or using touch. They should behave the same way - for mouse: you press on MouseLeftButtonDown, move the mouse and release to let go; for touch: you touch down on graphic, move your touch to drag the item and touch up to let go.&lt;BR /&gt;&lt;BR /&gt;Are you saying the graphic you choose to move does not move, instead another graphic is moved? Or are you simply looking for an event to know which graphic was moved?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the MapGesture event to catch the hold (I also use WPF manipulation events because the ESRI control manipulation for gestures doesn't support rotation so I had to add my own manipulation).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the MapGesture event I use the e.DirectlyOver to get the graphic objects the cursor/finger is over and the graphic objects I get look like the graphic objects from the graphic layer (same attribute collection), but they are duplicates - they are not of the same reference, they do not have the PropertyChanged event registration I did for my graphic objects, and their geometry is MapPoint while my geometries are MultiplePoint. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Somehow the DirectOver method created new graphic objects instead of the objects that are in the layer. BTW, this only happens when I use MultiplePoint. If I change my graphic object creation code to use MapPoint the DirectOver method works, but the editor's EditVertice cannot be executed (calling CanExecute on the command with the graphic object that has a geometry of MapPoint returns false).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using v2.1 beta (latest release)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 18:35:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/strange-behavior-of-directlyover-method-in/m-p/566564#M14586</guid>
      <dc:creator>IdoFlatow</dc:creator>
      <dc:date>2010-10-27T18:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behavior of DirectlyOver method in manipulation scenarios</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/strange-behavior-of-directlyover-method-in/m-p/566565#M14587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Correct me if I'm wrong. You are using the MapGesture.Hold to trigger an EditVertices where you pass the graphic as the CommandParameter?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to use EditVertices for MapPoint, you set the CommandParameter to null (not the graphic). While EditVertices is active, any graphic you touch provided it comes from a layer that is included in the Editor, will respond to move or edit geometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are to use DirectlyOver from Map.GestureEventArgs, do you provide a tap_tolerance (double) and specify the layer of interest? (Like the one below)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IEnumerable&amp;lt;Graphic&amp;gt; graphics = e.DirectlyOver(TAP_TOLERANCE, new List&amp;lt;GraphicsLayer&amp;gt;() { vertexLayer });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And you say the graphics returned here are incorrect?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 18:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/strange-behavior-of-directlyover-method-in/m-p/566565#M14587</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-10-27T18:54:52Z</dc:date>
    </item>
  </channel>
</rss>

