<?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 - can it be rotated or angle changed? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-can-it-be-rotated-or-angle/m-p/591282#M55258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an application that will track the GPS location of a vehicle.&amp;nbsp; I would like to change the rotation/angle of an esri.symbol.PictureMarkerSymbol to match the direction of the vehicle.&amp;nbsp; I can't seem to find a way to alter the rotation of the symbol.&amp;nbsp; I can extract the direction with no problem, it is rotating a PictureMarkerSymbol that is the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't see a property for this, so I just want to make sure I am not missing anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Carmen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Apr 2011 14:42:31 GMT</pubDate>
    <dc:creator>CarmenDurham</dc:creator>
    <dc:date>2011-04-08T14:42:31Z</dc:date>
    <item>
      <title>PictureMarkerSymbol - can it be rotated or angle changed?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-can-it-be-rotated-or-angle/m-p/591282#M55258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an application that will track the GPS location of a vehicle.&amp;nbsp; I would like to change the rotation/angle of an esri.symbol.PictureMarkerSymbol to match the direction of the vehicle.&amp;nbsp; I can't seem to find a way to alter the rotation of the symbol.&amp;nbsp; I can extract the direction with no problem, it is rotating a PictureMarkerSymbol that is the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't see a property for this, so I just want to make sure I am not missing anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Carmen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 14:42:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-can-it-be-rotated-or-angle/m-p/591282#M55258</guid>
      <dc:creator>CarmenDurham</dc:creator>
      <dc:date>2011-04-08T14:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: PictureMarkerSymbol - can it be rotated or angle changed?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-can-it-be-rotated-or-angle/m-p/591283#M55259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you can change the angle for a picture marker symbol. The PictureMarkerSymbol class inherits from MarkerSymbol which has a setAngle method. Here's a code snippet that shows how this works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var infoSymbol = new esri.symbol.PictureMarkerSymbol("../images/info.png",30,30);
 infoSymbol.setAngle(45);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:23:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-can-it-be-rotated-or-angle/m-p/591283#M55259</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2021-12-12T01:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: PictureMarkerSymbol - can it be rotated or angle changed?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-can-it-be-rotated-or-angle/m-p/591284#M55260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kelly,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could has sworn that I tried this once with no luck.&amp;nbsp; But based on your reply, I tried again and it worked fine.&amp;nbsp; So, thank you!&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Carmen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2011 16:20:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/picturemarkersymbol-can-it-be-rotated-or-angle/m-p/591284#M55260</guid>
      <dc:creator>CarmenDurham</dc:creator>
      <dc:date>2011-04-08T16:20:44Z</dc:date>
    </item>
  </channel>
</rss>

