<?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 ESRI BufferAsync function in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/esri-bufferasync-function/m-p/92535#M2285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am very new to working on ESRI Silverlight functionality and need some guidance on fixing one issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the existing code (bought from 1 expereinced company on ESRI GIS), we are having a BufferAsynch functionality which is used to draw a circle around a point (Refer: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#BufferPoint"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#BufferPoint&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When we are drawing the circle through BufferAsynch, the completed callback gets the response and displays a circle around the point. It works fine when we are clicking in the middle of the map to draw the circle. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, when we click near to say, North pole, the circle becomes elliptical (horizontally very large). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On debugging this, I found that the Buffer complete callback being called has an argument (GraphicEventArgs) that gets a geometry (polygon ring) shape from esri service. The points in the ring are of larger distance when we click on points near the pole. I am unable to get why the shape is getting distorted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had even copied the complete code from (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#BufferPoint"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#BufferPoint&lt;/A&gt;&lt;SPAN&gt;) in the source code and it still produced elliptical shape.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example of Polygon rings while trying to create a circle around 500km radius:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) When user clicks on point near to center of map:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Longitude:23 and Latitude:10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; One of the point in GraphicEventArgs was: X=27.093424764653, Y=8.03057538034022&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aprrox distance between points = 496 km (~500km)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) When user clicks near pole.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Longitude: 23 and Latitude: 80&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; One of the point in GraphicEventArgs was: X=49.7117238764841, Y=81.00818899076&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Approx distance between points = 2972 km (Leads to horizontal increment and creation of ellipse shape).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please guide me so that I can resolve the issue....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Oct 2013 09:42:16 GMT</pubDate>
    <dc:creator>VarunGoel</dc:creator>
    <dc:date>2013-10-25T09:42:16Z</dc:date>
    <item>
      <title>ESRI BufferAsync function</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/esri-bufferasync-function/m-p/92535#M2285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am very new to working on ESRI Silverlight functionality and need some guidance on fixing one issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the existing code (bought from 1 expereinced company on ESRI GIS), we are having a BufferAsynch functionality which is used to draw a circle around a point (Refer: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#BufferPoint"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#BufferPoint&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When we are drawing the circle through BufferAsynch, the completed callback gets the response and displays a circle around the point. It works fine when we are clicking in the middle of the map to draw the circle. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, when we click near to say, North pole, the circle becomes elliptical (horizontally very large). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On debugging this, I found that the Buffer complete callback being called has an argument (GraphicEventArgs) that gets a geometry (polygon ring) shape from esri service. The points in the ring are of larger distance when we click on points near the pole. I am unable to get why the shape is getting distorted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had even copied the complete code from (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#BufferPoint"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#BufferPoint&lt;/A&gt;&lt;SPAN&gt;) in the source code and it still produced elliptical shape.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example of Polygon rings while trying to create a circle around 500km radius:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) When user clicks on point near to center of map:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Longitude:23 and Latitude:10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; One of the point in GraphicEventArgs was: X=27.093424764653, Y=8.03057538034022&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aprrox distance between points = 496 km (~500km)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) When user clicks near pole.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Longitude: 23 and Latitude: 80&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;gt; One of the point in GraphicEventArgs was: X=49.7117238764841, Y=81.00818899076&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Approx distance between points = 2972 km (Leads to horizontal increment and creation of ellipse shape).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please guide me so that I can resolve the issue....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 09:42:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/esri-bufferasync-function/m-p/92535#M2285</guid>
      <dc:creator>VarunGoel</dc:creator>
      <dc:date>2013-10-25T09:42:16Z</dc:date>
    </item>
  </channel>
</rss>

