UNPKG

ol-cesium

Version:

OpenLayers Cesium integration library

70 lines 81.5 kB
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>OLCSCamera | ol-cesium</title><meta name="description" content="Documentation for ol-cesium"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">ol-cesium</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">ol-cesium</a></li><li><a href="OLCSCamera.html">OLCSCamera</a></li></ul><h1>Class OLCSCamera</h1></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L25">src/olcs/Camera.ts:25</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="OLCSCamera.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-512"></use></svg><span>constructor</span></a> </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="OLCSCamera.html#cam_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>cam_</span></a> <a href="OLCSCamera.html#distance_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>distance_</span></a> <a href="OLCSCamera.html#fromLonLat_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>from<wbr/>Lon<wbr/>Lat_</span></a> <a href="OLCSCamera.html#lastCameraViewMatrix_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>last<wbr/>Camera<wbr/>View<wbr/>Matrix_</span></a> <a href="OLCSCamera.html#map_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>map_</span></a> <a href="OLCSCamera.html#scene_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>scene_</span></a> <a href="OLCSCamera.html#tilt_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>tilt_</span></a> <a href="OLCSCamera.html#toLonLat_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>to<wbr/>Lon<wbr/>Lat_</span></a> <a href="OLCSCamera.html#viewListenKey_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>view<wbr/>Listen<wbr/>Key_</span></a> <a href="OLCSCamera.html#viewUpdateInProgress_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>view<wbr/>Update<wbr/>In<wbr/>Progress_</span></a> <a href="OLCSCamera.html#view_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>view_</span></a> </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="OLCSCamera.html#calcDistanceForResolution" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>calc<wbr/>Distance<wbr/>For<wbr/>Resolution</span></a> <a href="OLCSCamera.html#calcResolutionForDistance" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>calc<wbr/>Resolution<wbr/>For<wbr/>Distance</span></a> <a href="OLCSCamera.html#checkCameraChange" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>check<wbr/>Camera<wbr/>Change</span></a> <a href="OLCSCamera.html#destroy" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>destroy</span></a> <a href="OLCSCamera.html#getAltitude" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Altitude</span></a> <a href="OLCSCamera.html#getCenter" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Center</span></a> <a href="OLCSCamera.html#getDistance" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Distance</span></a> <a href="OLCSCamera.html#getHeading" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Heading</span></a> <a href="OLCSCamera.html#getPosition" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Position</span></a> <a href="OLCSCamera.html#getTilt" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Tilt</span></a> <a href="OLCSCamera.html#handleViewChangedEvent_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>handle<wbr/>View<wbr/>Changed<wbr/>Event_</span></a> <a href="OLCSCamera.html#readFromView" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>read<wbr/>From<wbr/>View</span></a> <a href="OLCSCamera.html#setAltitude" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>set<wbr/>Altitude</span></a> <a href="OLCSCamera.html#setCenter" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>set<wbr/>Center</span></a> <a href="OLCSCamera.html#setDistance" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>set<wbr/>Distance</span></a> <a href="OLCSCamera.html#setHeading" class="tsd-index-link deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>set<wbr/>Heading</span></a> <a href="OLCSCamera.html#setPosition" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>set<wbr/>Position</span></a> <a href="OLCSCamera.html#setTilt" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>set<wbr/>Tilt</span></a> <a href="OLCSCamera.html#setView_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>set<wbr/>View_</span></a> <a href="OLCSCamera.html#updateCamera_" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>update<wbr/>Camera_</span></a> <a href="OLCSCamera.html#updateView" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>update<wbr/>View</span></a> </div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_OLCSCamera" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new OLCSCamera</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span>, <span class="tsd-kind-parameter">map</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="OLCSCamera.html" class="tsd-signature-type tsd-kind-class">OLCSCamera</a><a href="#constructor.new_OLCSCamera" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>This object takes care of additional 3d-specific properties of the view and ensures proper synchronization with the underlying raw Cesium.Camera object.</p> </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">scene</span>: <span class="tsd-signature-type">Scene</span></h5></li><li><h5><span class="tsd-kind-parameter">map</span>: <span class="tsd-signature-type">Map</span></h5></li></ul></div><h4 class="tsd-returns-title">Returns <a href="OLCSCamera.html" class="tsd-signature-type tsd-kind-class">OLCSCamera</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L52">src/olcs/Camera.ts:52</a></li></ul></aside></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-is-private"><a id="cam_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>cam_</span><a href="#cam_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">cam_</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Camera</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L27">src/olcs/Camera.ts:27</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="distance_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>distance_</span><a href="#distance_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">distance_</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L40">src/olcs/Camera.ts:40</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="fromLonLat_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>from<wbr/>Lon<wbr/>Lat_</span><a href="#fromLonLat_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">from<wbr/>Lon<wbr/>Lat_</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span>, <span class="tsd-kind-parameter">opt_output</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">opt_dimension</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> = identityProjection</span></div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="fromLonLat_.__type.__type-1"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span>, <span class="tsd-kind-parameter">opt_output</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">opt_dimension</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">input</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><p>Input coordinate array.</p> </div><div class="tsd-comment tsd-typography"></div></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">opt_output</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><p>Output array of coordinate values.</p> </div><div class="tsd-comment tsd-typography"></div></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">opt_dimension</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>Dimension.</p> </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>Input coordinate array (same array as input).</p> <div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L34">src/olcs/Camera.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="lastCameraViewMatrix_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>last<wbr/>Camera<wbr/>View<wbr/>Matrix_</span><a href="#lastCameraViewMatrix_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">last<wbr/>Camera<wbr/>View<wbr/>Matrix_</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Matrix4</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L41">src/olcs/Camera.ts:41</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="map_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>map_</span><a href="#map_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">map_</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L28">src/olcs/Camera.ts:28</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="scene_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>scene_</span><a href="#scene_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">scene_</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Scene</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L26">src/olcs/Camera.ts:26</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="tilt_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>tilt_</span><a href="#tilt_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tilt_</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><div class="tsd-comment tsd-typography"><p>0 -- topdown, PI/2 -- the horizon</p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L39">src/olcs/Camera.ts:39</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="toLonLat_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>to<wbr/>Lon<wbr/>Lat_</span><a href="#toLonLat_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">to<wbr/>Lon<wbr/>Lat_</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span>, <span class="tsd-kind-parameter">opt_output</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">opt_dimension</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> = identityProjection</span></div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="toLonLat_.__type-2.__type-3"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">input</span>, <span class="tsd-kind-parameter">opt_output</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">opt_dimension</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">input</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><p>Input coordinate array.</p> </div><div class="tsd-comment tsd-typography"></div></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">opt_output</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><p>Output array of coordinate values.</p> </div><div class="tsd-comment tsd-typography"></div></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">opt_dimension</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>Dimension.</p> </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>Input coordinate array (same array as input).</p> <div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L33">src/olcs/Camera.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="viewListenKey_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>view<wbr/>Listen<wbr/>Key_</span><a href="#viewListenKey_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">view<wbr/>Listen<wbr/>Key_</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">EventsKey</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L31">src/olcs/Camera.ts:31</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="viewUpdateInProgress_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>view<wbr/>Update<wbr/>In<wbr/>Progress_</span><a href="#viewUpdateInProgress_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">view<wbr/>Update<wbr/>In<wbr/>Progress_</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><div class="tsd-comment tsd-typography"><p>This is used to discard change events on view caused by updateView method.</p> </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L46">src/olcs/Camera.ts:46</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="view_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>view_</span><a href="#view_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">view_</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">View</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L29">src/olcs/Camera.ts:29</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member"><a id="calcDistanceForResolution" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>calc<wbr/>Distance<wbr/>For<wbr/>Resolution</span><a href="#calcDistanceForResolution" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="calcDistanceForResolution.calcDistanceForResolution-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">calc<wbr/>Distance<wbr/>For<wbr/>Resolution</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">resolution</span>, <span class="tsd-kind-parameter">latitude</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#calcDistanceForResolution.calcDistanceForResolution-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>calculate the distance between camera and centerpoint based on the resolution and latitude value</p> </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">resolution</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>Number of map units per pixel.</p> </div><div class="tsd-comment tsd-typography"></div></li><li><h5><span class="tsd-kind-parameter">latitude</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>Latitude in radians.</p> </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The calculated distance.</p> <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L402">src/olcs/Camera.ts:402</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="calcResolutionForDistance" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>calc<wbr/>Resolution<wbr/>For<wbr/>Distance</span><a href="#calcResolutionForDistance" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="calcResolutionForDistance.calcResolutionForDistance-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">calc<wbr/>Resolution<wbr/>For<wbr/>Distance</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">distance</span>, <span class="tsd-kind-parameter">latitude</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#calcResolutionForDistance.calcResolutionForDistance-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>calculate the resolution based on a distance(camera to position) and latitude value</p> </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">distance</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"></div></li><li><h5><span class="tsd-kind-parameter">latitude</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>} The calculated resolution.</p> <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L412">src/olcs/Camera.ts:412</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="checkCameraChange" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>check<wbr/>Camera<wbr/>Change</span><a href="#checkCameraChange" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="checkCameraChange.checkCameraChange-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">check<wbr/>Camera<wbr/>Change</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opt_dontSync</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#checkCameraChange.checkCameraChange-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check if the underlying camera state has changed and ensure synchronization.</p> </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">opt_dontSync</span>: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>Do not synchronize the view.</p> </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L384">src/olcs/Camera.ts:384</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="destroy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>destroy</span><a href="#destroy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="destroy.destroy-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">destroy</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#destroy.destroy-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L62">src/olcs/Camera.ts:62</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getAltitude" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Altitude</span><a href="#getAltitude" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getAltitude.getAltitude-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Altitude</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getAltitude.getAltitude-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>Altitude in meters.</p> <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L237">src/olcs/Camera.ts:237</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getCenter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">get<wbr/>Center</span><a href="#getCenter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getCenter.getCenter-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Center</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Coordinate</span><a href="#getCenter.getCenter-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Coordinate</span></h4><p>Same projection as the ol.View.</p> <div class="tsd-comment tsd-typography"><h4>Deprecated</h4><p>Shortcut for ol.View.getCenter().</p> <h4>Api</h4></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L174">src/olcs/Camera.ts:174</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getDistance" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Distance</span><a href="#getDistance" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getDistance.getDistance-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Distance</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getDistance.getDistance-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>Distance in meters.</p> <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L152">src/olcs/Camera.ts:152</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getHeading" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">get<wbr/>Heading</span><a href="#getHeading" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getHeading.getHeading-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Heading</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getHeading.getHeading-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>Heading in radians.</p> <div class="tsd-comment tsd-typography"><h4>Deprecated</h4></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L117">src/olcs/Camera.ts:117</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getPosition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Position</span><a href="#getPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getPosition.getPosition-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Position</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getPosition.getPosition-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Calculates position under the camera.</p> </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>Coordinates in same projection as the ol.View.</p> <div class="tsd-comment tsd-typography"><h4>Api</h4></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L208">src/olcs/Camera.ts:208</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getTilt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Tilt</span><a href="#getTilt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getTilt.getTilt-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Tilt</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getTilt.getTilt-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>Tilt in radians.</p> <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L136">src/olcs/Camera.ts:136</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="handleViewChangedEvent_" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>handle<wbr/>View<wbr/>Changed<wbr/>Event_</span><a href="#handleViewChangedEvent_" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="handleViewChangedEvent_.handleViewChangedEvent_-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">handle<wbr/>View<wbr/>Changed<wbr/>Event_</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#handleViewChangedEvent_.handleViewChangedEvent_-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L95">src/olcs/Camera.ts:95</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="readFromView" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>read<wbr/>From<wbr/>View</span><a href="#readFromView" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="readFromView.readFromView-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">read<wbr/>From<wbr/>View</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#readFromView.readFromView-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Calculates the values of the properties from the current ol.View state.</p> </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L286">src/olcs/Camera.ts:286</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setAltitude" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Altitude</span><a href="#setAltitude" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setAltitude.setAltitude-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Altitude</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">altitude</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setAltitude.setAltitude-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">altitude</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>In meters.</p> </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L225">src/olcs/Camera.ts:225</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setCenter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">set<wbr/>Center</span><a href="#setCenter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setCenter.setCenter-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Center</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">center</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setCenter.setCenter-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">center</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><p>Same projection as the ol.View.</p> </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>Deprecated</h4><p>Shortcut for ol.View.setCenter().</p> </div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L161">src/olcs/Camera.ts:161</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setDistance" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Distance</span><a href="#setDistance" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setDistance.setDistance-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Distance</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">distance</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setDistance.setDistance-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">distance</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>In meters.</p> </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L143">src/olcs/Camera.ts:143</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setHeading" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">set<wbr/>Heading</span><a href="#setHeading" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setHeading.setHeading-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Heading</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">heading</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setHeading.setHeading-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">heading</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>In radians.</p> </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>Deprecated</h4></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L105">src/olcs/Camera.ts:105</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setPosition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Position</span><a href="#setPosition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setPosition.setPosition-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Position</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">position</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setPosition.setPosition-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets the position of the camera.</p> </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><span class="tsd-kind-parameter">position</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><p>Same projection as the ol.View.</p> </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/openlayers/ol-cesium/blob/7e3a00a/src/olcs/Camera.ts#L185">src/olcs/Camera.ts:185</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setTilt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Tilt</span><a href="#setTilt" aria-label="Permalink" class="tsd-anchor-