<?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: AGSPictureMarkerSymbol becomes distorted after upgrading to SDK to 10.1.1 in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-becomes-distorted-after/m-p/45339#M411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you provide the Orange.png image you are using ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also attach screenshots showing the difference in quality.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Jul 2013 19:50:29 GMT</pubDate>
    <dc:creator>DiveshGoyal</dc:creator>
    <dc:date>2013-07-06T19:50:29Z</dc:date>
    <item>
      <title>AGSPictureMarkerSymbol becomes distorted after upgrading to SDK to 10.1.1</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-becomes-distorted-after/m-p/45338#M410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The quality of the image drawn on the map becomes significantly low for the same code after upgrading the SDK to 10.1.1. I copy/paste the code below. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Orange.png is a 90x90 pixel image. Its size is adjusted based on the diameter parameter. As the diameter gets smaller, the image's quality becomes lower. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should I use a bigger image? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any parameters that I need to set to improve the quality? (I tried setting graphicsLayer.renderNativeResolution to FALSE/TRUE but it did not change anything..)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSString *imageName = @"Orange.png";
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Creates a custom marker symbol with the picture
&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSPictureMarkerSymbol *myMarkerSymbol = [AGSPictureMarkerSymbol pictureMarkerSymbolWithImageNamed:imageName];
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Adjust the size for the node
&amp;nbsp;&amp;nbsp;&amp;nbsp; myMarkerSymbol.size = CGSizeMake( diameter, diameter );
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Converts latitude and longitude values to mercator
 double num = longtitude * 0.017453292519943295;
 double x = 6378137.0 * num;
 double a = latitude * 0.017453292519943295;
 double mercatorX = x;
 double mercatorY = 3189068.5 * log((1.0 + sin(a))/(1.0 - sin(a)));
 
 //Create an AGSPoint (which inherits from AGSGeometry) that
 //defines where the Graphic will be drawn
 AGSPoint* myMarkerPoint = [AGSPoint pointWithX:mercatorX
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y:mercatorY
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; spatialReference:self.mapView.spatialReference];
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; //NodeInfoTemplate handles what needs to be written in the callout window
 NodeInfoTemplate *template = [[NodeInfoTemplate alloc] init];
 //Create the Graphic, using the symbol and geometry created earlier
 AGSGraphic* myGraphic =[AGSGraphic graphicWithGeometry:myMarkerPoint
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol:myMarkerSymbol
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attributes:nodeDict
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplateDelegate:template];
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
 //Add the graphic to the Graphics layer
 [self.graphicsLayer addGraphic:myGraphic];
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 18:11:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-becomes-distorted-after/m-p/45338#M410</guid>
      <dc:creator>OguzhanTopsakal</dc:creator>
      <dc:date>2013-07-05T18:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: AGSPictureMarkerSymbol becomes distorted after upgrading to SDK to 10.1.1</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-becomes-distorted-after/m-p/45339#M411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you provide the Orange.png image you are using ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also attach screenshots showing the difference in quality.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jul 2013 19:50:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-becomes-distorted-after/m-p/45339#M411</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2013-07-06T19:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: AGSPictureMarkerSymbol becomes distorted after upgrading to SDK to 10.1.1</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-becomes-distorted-after/m-p/45340#M412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply. Please see the attachments.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jul 2013 18:54:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-becomes-distorted-after/m-p/45340#M412</guid>
      <dc:creator>OguzhanTopsakal</dc:creator>
      <dc:date>2013-07-07T18:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: AGSPictureMarkerSymbol becomes distorted after upgrading to SDK to 10.1.1</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-becomes-distorted-after/m-p/45341#M413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Divesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know any ideas or a solution for this. Can we expect a fix soon for this or do we need to use AGSSimpleMarkerSymbol instead of AGSPictureMarkerSymbol for now?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oguzhan.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 13:43:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-becomes-distorted-after/m-p/45341#M413</guid>
      <dc:creator>OguzhanTopsakal</dc:creator>
      <dc:date>2013-07-10T13:43:08Z</dc:date>
    </item>
  </channel>
</rss>

