<?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 PictureMarkerSymbol problem in Windows Phone app in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/picturemarkersymbol-problem-in-windows-phone-app/m-p/212857#M2536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im trying to add pushpins on a map. I tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var pushPinSymbol = new PictureMarkerSymbol() { Width = 30, Height = 30, XOffset = 0, YOffset = 25 };
pushPinSymbol.SetSourceAsync(new Uri("pack://application:,,,/RouteDisplayer;component/Assets/MapPinIcon-30.png"));&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and gets an invalid port specified error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another way I'm supposed to add an image to the symbol?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 10:27:38 GMT</pubDate>
    <dc:creator>ÅsaWegelius</dc:creator>
    <dc:date>2021-12-11T10:27:38Z</dc:date>
    <item>
      <title>PictureMarkerSymbol problem in Windows Phone app</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/picturemarkersymbol-problem-in-windows-phone-app/m-p/212857#M2536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im trying to add pushpins on a map. I tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var pushPinSymbol = new PictureMarkerSymbol() { Width = 30, Height = 30, XOffset = 0, YOffset = 25 };
pushPinSymbol.SetSourceAsync(new Uri("pack://application:,,,/RouteDisplayer;component/Assets/MapPinIcon-30.png"));&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and gets an invalid port specified error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another way I'm supposed to add an image to the symbol?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:27:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/picturemarkersymbol-problem-in-windows-phone-app/m-p/212857#M2536</guid>
      <dc:creator>ÅsaWegelius</dc:creator>
      <dc:date>2021-12-11T10:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: PictureMarkerSymbol problem in Windows Phone app</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/picturemarkersymbol-problem-in-windows-phone-app/m-p/212858#M2537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found that you shall use new Uri("ms-appx:///Assets/MapPinIcon-30.png") on Windows Phone instead of&amp;nbsp; new Uri(&lt;SPAN style="color: #0000ff; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f6f6f6;"&gt;pack://application:,,,/RouteDisplayer;component/Assets/MapPinIcon-30.png)&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be nice if the example &lt;A href="https://developers.arcgis.com/net/sample-code/MarkerSymbols/http://"&gt;https://developers.arcgis.com/net/sample-code/MarkerSymbols/http://&lt;/A&gt; was updated with what changes you need to do for Windows Phone instead of just say: &lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #fefefe;"&gt;Available for Desktop, Store, Phone&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #fefefe;"&gt;It might save some time for others in the future.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 11:41:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/picturemarkersymbol-problem-in-windows-phone-app/m-p/212858#M2537</guid>
      <dc:creator>ÅsaWegelius</dc:creator>
      <dc:date>2015-03-27T11:41:50Z</dc:date>
    </item>
  </channel>
</rss>

