<?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 Binding PictureMarkerSymbol rotation with map in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/binding-picturemarkersymbol-rotation-with-map/m-p/581732#M3973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to make MarkerSymbol rotate together with map? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did manage to rotate it using OnPinchListener, but I have to update update graphic manually and it's TERRIBLY SLOW.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
mapView.setOnPinchListener(new OnPinchListener() {

 ...

 public void postPointersUp(float arg0, float arg1, float arg2, float arg3, double arg4) {
&amp;nbsp; markerSymbol.setAngle(-(float) mapView.getRotationAngle());
&amp;nbsp; graphicsLayer.updateGraphic(graphicsLayer.getGraphicIDs()[0], markerSymbol);
 }
 
 public void postPointersMove(float arg0, float arg1, float arg2, float arg3, double arg4) {
&amp;nbsp; markerSymbol.setAngle(-(float) mapView.getRotationAngle());
&amp;nbsp; graphicsLayer.updateGraphic(graphicsLayer.getGraphicIDs()[0], markerSymbol);
 }
);
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So are there some other tricks to achieve something like this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2013 05:59:03 GMT</pubDate>
    <dc:creator>JuliusBagdonas</dc:creator>
    <dc:date>2013-09-13T05:59:03Z</dc:date>
    <item>
      <title>Binding PictureMarkerSymbol rotation with map</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/binding-picturemarkersymbol-rotation-with-map/m-p/581732#M3973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to make MarkerSymbol rotate together with map? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did manage to rotate it using OnPinchListener, but I have to update update graphic manually and it's TERRIBLY SLOW.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
mapView.setOnPinchListener(new OnPinchListener() {

 ...

 public void postPointersUp(float arg0, float arg1, float arg2, float arg3, double arg4) {
&amp;nbsp; markerSymbol.setAngle(-(float) mapView.getRotationAngle());
&amp;nbsp; graphicsLayer.updateGraphic(graphicsLayer.getGraphicIDs()[0], markerSymbol);
 }
 
 public void postPointersMove(float arg0, float arg1, float arg2, float arg3, double arg4) {
&amp;nbsp; markerSymbol.setAngle(-(float) mapView.getRotationAngle());
&amp;nbsp; graphicsLayer.updateGraphic(graphicsLayer.getGraphicIDs()[0], markerSymbol);
 }
);
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So are there some other tricks to achieve something like this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 05:59:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/binding-picturemarkersymbol-rotation-with-map/m-p/581732#M3973</guid>
      <dc:creator>JuliusBagdonas</dc:creator>
      <dc:date>2013-09-13T05:59:03Z</dc:date>
    </item>
  </channel>
</rss>

