<?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 from programatic images have the wrong size in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-from-programatic-images/m-p/519352#M4456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark, that trick solved the&amp;nbsp;size issue :-).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2017 05:50:34 GMT</pubDate>
    <dc:creator>marius</dc:creator>
    <dc:date>2017-03-24T05:50:34Z</dc:date>
    <item>
      <title>AGSPictureMarkerSymbol from programatic images have the wrong size</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-from-programatic-images/m-p/519350#M4454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While trying to migrate some code from ArcGIS 10.2.5 to ArcGIS 100, I've noticed some AGSPictureMarkerSymbol changes. When creating a AGSPictureMarkerSymbol with a local asset, it takes into consideration the image size (e.g. if @2x images are provided, the symbol is using that).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when using programatic images (e.g. UIViews screenshots), the&amp;nbsp;supplied image is treated as @1x image.&amp;nbsp;On iPad 2, it's rendered at 1x, on iPad Air 2s it's rendered at 2x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The old SDK (and Apple's UIKit) is treating the UIView "screenshot" as "fit for current size", e.g. the image&amp;nbsp;is rendered at&amp;nbsp;the same relative size (1x or&amp;nbsp;2x).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached screenshots (please ignore E66).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 06:06:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-from-programatic-images/m-p/519350#M4454</guid>
      <dc:creator>marius</dc:creator>
      <dc:date>2017-03-23T06:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: AGSPictureMarkerSymbol from programatic images have the wrong size</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-from-programatic-images/m-p/519351#M4455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your question! &amp;nbsp;This is something that we are aware of and are working on. &amp;nbsp;There is a workaround: if you set the size on the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;AGSPictureMarkerSymbol when you are using your programmatic assets, the size will be consistent on different resolution devices. &amp;nbsp;The problem occurs when you let the size of the symbol be determined by the image; if the image scale is not consistent with the screen scale you run into problems.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 15:52:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-from-programatic-images/m-p/519351#M4455</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2017-03-23T15:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: AGSPictureMarkerSymbol from programatic images have the wrong size</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-from-programatic-images/m-p/519352#M4456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark, that trick solved the&amp;nbsp;size issue :-).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 05:50:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agspicturemarkersymbol-from-programatic-images/m-p/519352#M4456</guid>
      <dc:creator>marius</dc:creator>
      <dc:date>2017-03-24T05:50:34Z</dc:date>
    </item>
  </channel>
</rss>

