<?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 How can I lock the heading on a SceneView camera? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/how-can-i-lock-the-heading-on-a-sceneview-camera/m-p/41248#M445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For ease of use, I'd like to lock the heading on the SceneView camera to North (0) and disable the right mouse button (rotate heading and pitch) features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've managed to lock the heading by capturing the CameraChanged event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;MySceneView.CameraChanged += MySceneView_CameraChanged;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and forcing the heading to 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; MySceneView.SetView(MySceneView.Camera.SetHeading(0));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;But, this disables the momentum effect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Also, how do I disable the right mouse button handling.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2016 14:25:44 GMT</pubDate>
    <dc:creator>DavidHope</dc:creator>
    <dc:date>2016-06-10T14:25:44Z</dc:date>
    <item>
      <title>How can I lock the heading on a SceneView camera?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-can-i-lock-the-heading-on-a-sceneview-camera/m-p/41248#M445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For ease of use, I'd like to lock the heading on the SceneView camera to North (0) and disable the right mouse button (rotate heading and pitch) features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've managed to lock the heading by capturing the CameraChanged event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;MySceneView.CameraChanged += MySceneView_CameraChanged;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and forcing the heading to 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; MySceneView.SetView(MySceneView.Camera.SetHeading(0));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;But, this disables the momentum effect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Also, how do I disable the right mouse button handling.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:25:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-can-i-lock-the-heading-on-a-sceneview-camera/m-p/41248#M445</guid>
      <dc:creator>DavidHope</dc:creator>
      <dc:date>2016-06-10T14:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I lock the heading on a SceneView camera?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-can-i-lock-the-heading-on-a-sceneview-camera/m-p/41249#M446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just getting into developing with SceneViews and this was my very first question.&amp;nbsp; Why is there no option to lock the heading to 0, just like the experience you get using Googlemaps.&amp;nbsp; Did you ever find a solution to this?&amp;nbsp; The navigation is very difficult when viewing data on an international scale.&amp;nbsp;&amp;nbsp;I'm developing in the jsapi, but this still seems relevant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2019 23:55:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-can-i-lock-the-heading-on-a-sceneview-camera/m-p/41249#M446</guid>
      <dc:creator>RobertMiller4</dc:creator>
      <dc:date>2019-11-26T23:55:47Z</dc:date>
    </item>
  </channel>
</rss>

