<?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: Problem with displaying an image in an AGSPopupInfo? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479756#M4088</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;As I can't use AGSAttachmentManager with AGSGraphicsLayer, that's why I'm fiddling with how to show an image in AGSPopupInfo. Thanks for pointing out the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to set mapUrl to a URL string pointing to an image on the simulator/device? Any example?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to make it work without getting the image from an AGSFeatureLayer on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgds&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ong CF&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 22:55:15 GMT</pubDate>
    <dc:creator>c_f_ong</dc:creator>
    <dc:date>2012-02-23T22:55:15Z</dc:date>
    <item>
      <title>Problem with displaying an image in an AGSPopupInfo?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479754#M4086</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'm having a problem with the code below to display an image in an AGSPopupInfo. Any idea what may be the cause? Any example? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; AGSPopupInfo *info = [AGSPopupInfo popupInfoForGraphic:graphic];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:mapUrl, @"sourceURL", nil];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSPopupMediaInfo *mediaInfo = [[AGSPopupMediaInfo alloc] initWithTitle:@"Title" caption:@"Caption" type:AGSPopupMediaInfoTypeImage value:dict];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; info.mediaInfos = [NSArray arrayWithObject:mediaInfo];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.popupVC = [[AGSPopupsContainerViewController alloc] initWithPopupInfo:info graphic:graphic usingNavigationControllerStack:NO];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, is there any way to use the AGSAttachmentManager with an AGSGraphicsLayer instead of an AGSFeatureLayer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgds&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ong CF&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 01:24:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479754#M4086</guid>
      <dc:creator>c_f_ong</dc:creator>
      <dc:date>2012-02-23T01:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with displaying an image in an AGSPopupInfo?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479755#M4087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is mapUrl a URL string pointing to an image? If yes, it should work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can't use AGSAttachmentManager with AGSGraphicsLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 16:28:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479755#M4087</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-02-23T16:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with displaying an image in an AGSPopupInfo?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479756#M4088</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;As I can't use AGSAttachmentManager with AGSGraphicsLayer, that's why I'm fiddling with how to show an image in AGSPopupInfo. Thanks for pointing out the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to set mapUrl to a URL string pointing to an image on the simulator/device? Any example?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to make it work without getting the image from an AGSFeatureLayer on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgds&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ong CF&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 22:55:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479756#M4088</guid>
      <dc:creator>c_f_ong</dc:creator>
      <dc:date>2012-02-23T22:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with displaying an image in an AGSPopupInfo?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479757#M4089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the modified code of yours to show and image url..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;NSString *imageUrl = @"http://upload.wikimedia.org/wikipedia/en/1/1e/New-esri-logo.gif";&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSPopupInfo *info = [AGSPopupInfo popupInfoForGraphic:graphic];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:&lt;/SPAN&gt;&lt;STRONG&gt;imageUrl&lt;/STRONG&gt;&lt;SPAN&gt;, @"sourceURL", nil];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSPopupMediaInfo *mediaInfo = [[AGSPopupMediaInfo alloc] initWithTitle:@"Title" caption:@"Caption" type:AGSPopupMediaInfoTypeImage value:dict];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;info.mediaInfos = [NSArray arrayWithObject:mediaInfo];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;self.popupVC = [[AGSPopupsContainerViewController alloc] initWithPopupInfo:info graphic:graphic usingNavigationControllerStack:NO];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 23:03:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479757#M4089</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-02-23T23:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with displaying an image in an AGSPopupInfo?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479758#M4090</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;Thanks for your quick response. Hope you don't mind to also show an example of how to set the URL to an image that's stored on the iPad such as from the camera roll.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgds&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ong CF&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 23:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479758#M4090</guid>
      <dc:creator>c_f_ong</dc:creator>
      <dc:date>2012-02-23T23:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with displaying an image in an AGSPopupInfo?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479759#M4091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should try to find the iOS SDK help, how to get the URL of a photo in camera roll or library.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 15:30:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479759#M4091</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-02-24T15:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with displaying an image in an AGSPopupInfo?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479760#M4092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Nimesh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help! Will search documentation for the how...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgds&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ong CF&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Feb 2012 10:12:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problem-with-displaying-an-image-in-an/m-p/479760#M4092</guid>
      <dc:creator>c_f_ong</dc:creator>
      <dc:date>2012-02-25T10:12:21Z</dc:date>
    </item>
  </channel>
</rss>

