<?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 Rotation of Esri Leaflet Vector in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/rotation-of-esri-leaflet-vector/m-p/1100060#M69</link>
    <description>&lt;P&gt;Has anyone made the Esri Leaflet Vector map rotate? E.g. using a laptop in a vehicle that "up" on the map would be the direction that the car is facing.&lt;/P&gt;
&lt;P&gt;I tried combining demo code from Esri and from the leaflet-rotate-map plug-in (&lt;A href="https://www.npmjs.com/package/leaflet-rotate-map)" target="_blank" rel="noopener"&gt;https://www.npmjs.com/package/leaflet-rotate-map)&lt;/A&gt;&amp;nbsp;but this has problems. For example a 45 degree rotation on this view:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ttchipster_1-1632166108415.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23411iEE8573B36164A111/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ttchipster_1-1632166108415.png" alt="ttchipster_1-1632166108415.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;does rotate but it loses some of the map area and also the marker is no longer at the same point on the ground.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ttchipster_2-1632166183968.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23413i58CB5F4C6A081BE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ttchipster_2-1632166183968.png" alt="ttchipster_2-1632166183968.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Are there any known ways for doing rotation with Esri Leaflet Vector?&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2023 20:13:35 GMT</pubDate>
    <dc:creator>ttchipster</dc:creator>
    <dc:date>2023-08-25T20:13:35Z</dc:date>
    <item>
      <title>Rotation of Esri Leaflet Vector</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/rotation-of-esri-leaflet-vector/m-p/1100060#M69</link>
      <description>&lt;P&gt;Has anyone made the Esri Leaflet Vector map rotate? E.g. using a laptop in a vehicle that "up" on the map would be the direction that the car is facing.&lt;/P&gt;
&lt;P&gt;I tried combining demo code from Esri and from the leaflet-rotate-map plug-in (&lt;A href="https://www.npmjs.com/package/leaflet-rotate-map)" target="_blank" rel="noopener"&gt;https://www.npmjs.com/package/leaflet-rotate-map)&lt;/A&gt;&amp;nbsp;but this has problems. For example a 45 degree rotation on this view:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ttchipster_1-1632166108415.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23411iEE8573B36164A111/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ttchipster_1-1632166108415.png" alt="ttchipster_1-1632166108415.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;does rotate but it loses some of the map area and also the marker is no longer at the same point on the ground.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ttchipster_2-1632166183968.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23413i58CB5F4C6A081BE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ttchipster_2-1632166183968.png" alt="ttchipster_2-1632166183968.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Are there any known ways for doing rotation with Esri Leaflet Vector?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 20:13:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/rotation-of-esri-leaflet-vector/m-p/1100060#M69</guid>
      <dc:creator>ttchipster</dc:creator>
      <dc:date>2023-08-25T20:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rotation of Esri Leaflet Vector</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/rotation-of-esri-leaflet-vector/m-p/1100302#M70</link>
      <description>&lt;P&gt;Per &lt;A href="https://github.com/Leaflet/Leaflet/issues/268" target="_self"&gt;this issue in the Leaflet repository,&lt;/A&gt; Leaflet does not officially support rotation. If you're looking for map rotation, I would suggest looking at the &lt;A href="https://developers.arcgis.com/javascript/" target="_self"&gt;ArcGIS API for JavaScript v4&lt;/A&gt; which &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#rotation" target="_self"&gt;fully supports rotation&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 14:29:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/rotation-of-esri-leaflet-vector/m-p/1100302#M70</guid>
      <dc:creator>GavinRehkemper</dc:creator>
      <dc:date>2021-09-21T14:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rotation of Esri Leaflet Vector</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/rotation-of-esri-leaflet-vector/m-p/1100561#M71</link>
      <description>&lt;P&gt;Thanks, Gavin. Leaflet core does not support rotation, but the recent&amp;nbsp; leaflet plugin that I mentioned looks promising; it was published 5 months ago (the Leaflet repository entry you linked to ended in 2018), so I'm hopeful that it will work with some of our current formats. We already have long usage with leaflet and users with various data formats, not just Esri formats, so switching or adding renderers is a big investment.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 21:18:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/rotation-of-esri-leaflet-vector/m-p/1100561#M71</guid>
      <dc:creator>ttchipster</dc:creator>
      <dc:date>2021-09-21T21:18:28Z</dc:date>
    </item>
  </channel>
</rss>

