<?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: add specific highlight in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-specific-highlight/m-p/1147433#M76470</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/191789"&gt;@BlakeTerhune&lt;/a&gt;&amp;nbsp; for the reply i solved the problem with the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html" target="_self"&gt;GraphicAPI document&lt;/A&gt;. If anyone encounters the same problem later, I leave the solution below.&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; const point = {
            type: "point",
            longitude: X,
            latitude: Y
          };
          const markerSymbol = {
            type: "picture-marker",

            url : "your_url",
            width: "30px",
            height: "50px",
            angle: yaw, 
          };
          const pointGraphic = new Graphic({
            geometry: point,
            symbol: markerSymbol,
          }); 
          view.graphics.add(pointGraphic); 
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Feb 2022 06:42:17 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2022-02-25T06:42:17Z</dc:date>
    <item>
      <title>add specific highlight</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-specific-highlight/m-p/1146854#M76441</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to add a special highlight like the default highlight that occurs when I click on a point in the feature layer. How can I do that?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 07:55:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-specific-highlight/m-p/1146854#M76441</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-02-23T07:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: add specific highlight</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-specific-highlight/m-p/1146955#M76448</link>
      <description>&lt;P&gt;Have you read the API documentation for the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html#highlight" target="_self"&gt;FeatureLayerView highlight method&lt;/A&gt;? There's a &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/highlight-point-features/" target="_self"&gt;sample app&lt;/A&gt; there too. If this isn't sufficient, you'll need to be more specific about what you want to do.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 14:43:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-specific-highlight/m-p/1146955#M76448</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2022-02-23T14:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: add specific highlight</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-specific-highlight/m-p/1147433#M76470</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/191789"&gt;@BlakeTerhune&lt;/a&gt;&amp;nbsp; for the reply i solved the problem with the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html" target="_self"&gt;GraphicAPI document&lt;/A&gt;. If anyone encounters the same problem later, I leave the solution below.&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; const point = {
            type: "point",
            longitude: X,
            latitude: Y
          };
          const markerSymbol = {
            type: "picture-marker",

            url : "your_url",
            width: "30px",
            height: "50px",
            angle: yaw, 
          };
          const pointGraphic = new Graphic({
            geometry: point,
            symbol: markerSymbol,
          }); 
          view.graphics.add(pointGraphic); 
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 06:42:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-specific-highlight/m-p/1147433#M76470</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-02-25T06:42:17Z</dc:date>
    </item>
  </channel>
</rss>

