<?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 Coordinate not coming through on map click in ArcGIS for Windows Mobile Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/coordinate-not-coming-through-on-map-click/m-p/371222#M1612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're experiencing an issue with 10.1 where we can't seem to get the proper coordinates on a map click event when the sketch graphic layer is added to the map, the current map action is set to an addVertexSketchTool, and the sketchGraphicLayer.Geometry member is set to a point.&amp;nbsp; The sketchGraphicLayer.Geometry.CurrentCoordinate X&amp;amp;Y values are NaN.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the X&amp;amp;Y values &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;do&lt;/SPAN&gt;&lt;SPAN&gt; come through on a map double-click event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a bug in ArcMobile?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically doing this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Open mobile cache&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sync with server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.CurrentMapAction = addVertexSketchTool&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Add map layers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a new SketchGraphicLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.MapGraphicLayers.Add(sketchGraphicLayer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sketchGraphicLayer.Geometry = new ESRI.ArcGIS.Mobile.Geometries.Point()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, in map_Click(), _sketchGraphicLayer.Geometry.CurrentCoordinate.X (and Y) = NaN&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2012 14:35:28 GMT</pubDate>
    <dc:creator>MikeDuppong</dc:creator>
    <dc:date>2012-04-23T14:35:28Z</dc:date>
    <item>
      <title>Coordinate not coming through on map click</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/coordinate-not-coming-through-on-map-click/m-p/371222#M1612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're experiencing an issue with 10.1 where we can't seem to get the proper coordinates on a map click event when the sketch graphic layer is added to the map, the current map action is set to an addVertexSketchTool, and the sketchGraphicLayer.Geometry member is set to a point.&amp;nbsp; The sketchGraphicLayer.Geometry.CurrentCoordinate X&amp;amp;Y values are NaN.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the X&amp;amp;Y values &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;do&lt;/SPAN&gt;&lt;SPAN&gt; come through on a map double-click event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a bug in ArcMobile?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically doing this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Open mobile cache&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sync with server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.CurrentMapAction = addVertexSketchTool&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Add map layers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a new SketchGraphicLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.MapGraphicLayers.Add(sketchGraphicLayer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sketchGraphicLayer.Geometry = new ESRI.ArcGIS.Mobile.Geometries.Point()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, in map_Click(), _sketchGraphicLayer.Geometry.CurrentCoordinate.X (and Y) = NaN&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 14:35:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/coordinate-not-coming-through-on-map-click/m-p/371222#M1612</guid>
      <dc:creator>MikeDuppong</dc:creator>
      <dc:date>2012-04-23T14:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinate not coming through on map click</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/coordinate-not-coming-through-on-map-click/m-p/371223#M1613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there, did you manage to get a solution to this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2012 00:08:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/coordinate-not-coming-through-on-map-click/m-p/371223#M1613</guid>
      <dc:creator>TerryOD</dc:creator>
      <dc:date>2012-11-15T00:08:26Z</dc:date>
    </item>
  </channel>
</rss>

