<?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 Issue with drawing polygon and pins in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/issue-with-drawing-polygon-and-pins/m-p/398378#M3422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am drawing a polygon using a graphic (set of polygon points). It is adding to the mapview properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I want to add some pins on the border of the polygon. I am creating a pin using one of the polygon points and adding to the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mapview. But strangely, the pin thats been added is not on top of the border of the polygon. But its bit outside a boundary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached a screenshot to illustrate the same. The red points are the ones which are supposed to be added on top of the polygon border. [ATTACH=CONFIG]26964[/ATTACH] (&lt;/SPAN&gt;&lt;A href="http://d.pr/i/eOeT"&gt;http://d.pr/i/eOeT&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am wondering whats going wrong. Please help me out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sandeep&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Aug 2013 09:43:46 GMT</pubDate>
    <dc:creator>SandeepG_S</dc:creator>
    <dc:date>2013-08-26T09:43:46Z</dc:date>
    <item>
      <title>Issue with drawing polygon and pins</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/issue-with-drawing-polygon-and-pins/m-p/398378#M3422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am drawing a polygon using a graphic (set of polygon points). It is adding to the mapview properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I want to add some pins on the border of the polygon. I am creating a pin using one of the polygon points and adding to the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mapview. But strangely, the pin thats been added is not on top of the border of the polygon. But its bit outside a boundary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached a screenshot to illustrate the same. The red points are the ones which are supposed to be added on top of the polygon border. [ATTACH=CONFIG]26964[/ATTACH] (&lt;/SPAN&gt;&lt;A href="http://d.pr/i/eOeT"&gt;http://d.pr/i/eOeT&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am wondering whats going wrong. Please help me out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sandeep&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 09:43:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/issue-with-drawing-polygon-and-pins/m-p/398378#M3422</guid>
      <dc:creator>SandeepG_S</dc:creator>
      <dc:date>2013-08-26T09:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with drawing polygon and pins</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/issue-with-drawing-polygon-and-pins/m-p/398379#M3423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you use a picture marker symbol, the center of the picture is aligned with the coordinates of the point geometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, this may be causing the tip of the pin to look out of place.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To fix this, you can use the &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/ios/api-reference/interface_a_g_s_marker_symbol.html#a4263d1d2c82e8ab0a04f42688e20514f"&gt;offset&lt;/A&gt;&lt;SPAN&gt; property on the picture marker symbol.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 18:25:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/issue-with-drawing-polygon-and-pins/m-p/398379#M3423</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2013-08-26T18:25:40Z</dc:date>
    </item>
  </channel>
</rss>

