<?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: How to create PictureMarkerSymbol from specific URL in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-create-picturemarkersymbol-from-specific/m-p/1298704#M4968</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/42133"&gt;@GKmieliauskas&lt;/a&gt;. Sorry for the delay.&lt;/P&gt;&lt;P&gt;The image:// scheme images used by the LegendInfoListModel are temporary, in-memory images that are designed to be displayed in UI controls. However, there is another way to do this.&lt;/P&gt;&lt;P&gt;Using the same LegendInfoListModel, you can access each&amp;nbsp;LegendInfo, which all have their own symbol property you can use with a graphic directly.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-legendinfolistmodel.html#get-method" target="_blank"&gt;https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-legendinfolistmodel.html#get-method&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-legendinfo.html#symbol-prop" target="_blank"&gt;https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-legendinfo.html#symbol-prop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let us know if that works for you.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2023 17:34:53 GMT</pubDate>
    <dc:creator>JamesBallard1</dc:creator>
    <dc:date>2023-06-13T17:34:53Z</dc:date>
    <item>
      <title>How to create PictureMarkerSymbol from specific URL</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-create-picturemarkersymbol-from-specific/m-p/1296630#M4960</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have got symbol url from layer legend. It looks like:&lt;/P&gt;&lt;P&gt;"image://arcgisruntimeimageprovider/67f53ba9-10bd-4bc9-a602-3356b685c9f6/image"&lt;/P&gt;&lt;P&gt;It works if I use that URL for Image control source property in dialog.&lt;/P&gt;&lt;P&gt;I have tried to create&amp;nbsp;PictureMarkerSymbol like in code below:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var pictureMarker = ArcGISRuntimeEnvironment.createObject("PictureMarkerSymbol", {
    width: 32,
    height: 32,
    offsetY: 16
});
pictureMarker.url = symbolUrl

var graphic = ArcGISRuntimeEnvironment.createObject("Graphic", {
geometry: currentLocation})
reportGraphicsOverlay.graphics.append(graphic)&lt;/LI-CODE&gt;&lt;P&gt;If I use local url as&amp;nbsp;"../images/pin.png" it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 12:48:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-create-picturemarkersymbol-from-specific/m-p/1296630#M4960</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-06-07T12:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create PictureMarkerSymbol from specific URL</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-create-picturemarkersymbol-from-specific/m-p/1298704#M4968</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/42133"&gt;@GKmieliauskas&lt;/a&gt;. Sorry for the delay.&lt;/P&gt;&lt;P&gt;The image:// scheme images used by the LegendInfoListModel are temporary, in-memory images that are designed to be displayed in UI controls. However, there is another way to do this.&lt;/P&gt;&lt;P&gt;Using the same LegendInfoListModel, you can access each&amp;nbsp;LegendInfo, which all have their own symbol property you can use with a graphic directly.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-legendinfolistmodel.html#get-method" target="_blank"&gt;https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-legendinfolistmodel.html#get-method&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-legendinfo.html#symbol-prop" target="_blank"&gt;https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-legendinfo.html#symbol-prop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let us know if that works for you.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 17:34:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-create-picturemarkersymbol-from-specific/m-p/1298704#M4968</guid>
      <dc:creator>JamesBallard1</dc:creator>
      <dc:date>2023-06-13T17:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create PictureMarkerSymbol from specific URL</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-create-picturemarkersymbol-from-specific/m-p/1300958#M4971</link>
      <description>&lt;P&gt;Thank you. It works,&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 07:41:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-create-picturemarkersymbol-from-specific/m-p/1300958#M4971</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-06-20T07:41:57Z</dc:date>
    </item>
  </channel>
</rss>

