Skip to content

Commit 9b80ad2

Browse files
committed
Version
1 parent ec8c47b commit 9b80ad2

39 files changed

+521
-390
lines changed

build/Main.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export { HeightDebugProvider } from './providers/HeightDebugProvider';
1616
export { MapNodeGeometry } from './geometries/MapNodeGeometry';
1717
export { MapNodeHeightGeometry } from './geometries/MapNodeHeightGeometry';
1818
export { MapSphereNodeGeometry } from './geometries/MapSphereNodeGeometry';
19-
export { MapNode } from './nodes/MapNode';
19+
export { MapNode, QuadTreePosition } from './nodes/MapNode';
2020
export { MapHeightNode } from './nodes/MapHeightNode';
2121
export { MapPlaneNode } from './nodes/MapPlaneNode';
2222
export { MapSphereNode } from './nodes/MapSphereNode';

build/geo-three.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,6 +1936,7 @@ exports.MapTilerProvider = MapTilerProvider;
19361936
exports.MapView = MapView;
19371937
exports.OpenMapTilesProvider = OpenMapTilesProvider;
19381938
exports.OpenStreetMapsProvider = OpenStreetMapsProvider;
1939+
exports.QuadTreePosition = QuadTreePosition;
19391940
exports.TextureUtils = TextureUtils;
19401941
exports.UnitsUtils = UnitsUtils;
19411942
exports.XHRUtils = XHRUtils;

build/geo-three.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,6 +1938,7 @@
19381938
exports.MapView = MapView;
19391939
exports.OpenMapTilesProvider = OpenMapTilesProvider;
19401940
exports.OpenStreetMapsProvider = OpenStreetMapsProvider;
1941+
exports.QuadTreePosition = QuadTreePosition;
19411942
exports.TextureUtils = TextureUtils;
19421943
exports.UnitsUtils = UnitsUtils;
19431944
exports.XHRUtils = XHRUtils;

build/geo-three.module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1908,4 +1908,4 @@ class CancelablePromise {
19081908
}
19091909
}
19101910

1911-
export { BingMapsProvider, CancelablePromise, CanvasUtils, DebugProvider, Geolocation, GeolocationUtils, GoogleMapsProvider, HeightDebugProvider, HereMapsProvider, LODFrustum, LODRadial, LODRaycast, MapBoxProvider, MapHeightNode, MapHeightNodeShader, MapNode, MapNodeGeometry, MapNodeHeightGeometry, MapPlaneNode, MapProvider, MapSphereNode, MapSphereNodeGeometry, MapTilerProvider, MapView, OpenMapTilesProvider, OpenStreetMapsProvider, TextureUtils, UnitsUtils, XHRUtils };
1911+
export { BingMapsProvider, CancelablePromise, CanvasUtils, DebugProvider, Geolocation, GeolocationUtils, GoogleMapsProvider, HeightDebugProvider, HereMapsProvider, LODFrustum, LODRadial, LODRaycast, MapBoxProvider, MapHeightNode, MapHeightNodeShader, MapNode, MapNodeGeometry, MapNodeHeightGeometry, MapPlaneNode, MapProvider, MapSphereNode, MapSphereNodeGeometry, MapTilerProvider, MapView, OpenMapTilesProvider, OpenStreetMapsProvider, QuadTreePosition, TextureUtils, UnitsUtils, XHRUtils };

docs/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/classes/BingMapsProvider.html

Lines changed: 22 additions & 22 deletions
Large diffs are not rendered by default.

docs/classes/CancelablePromise.html

Lines changed: 16 additions & 16 deletions
Large diffs are not rendered by default.

docs/classes/CanvasUtils.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h4>Hierarchy</h4>
2323
<ul class="tsd-hierarchy">
2424
<li><span class="target">CanvasUtils</span></li></ul></section><aside class="tsd-sources">
2525
<ul>
26-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/utils/CanvasUtils.ts#L4">source/utils/CanvasUtils.ts:4</a></li></ul></aside>
26+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/utils/CanvasUtils.ts#L4">source/utils/CanvasUtils.ts:4</a></li></ul></aside>
2727
<section class="tsd-panel-group tsd-index-group">
2828
<section class="tsd-panel tsd-index-panel">
2929
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -68,7 +68,7 @@ <h5>height: <span class="tsd-signature-type">number</span></h5>
6868
</div></li></ul></div>
6969
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">HTMLCanvasElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">OffscreenCanvas</span></h4><aside class="tsd-sources">
7070
<ul>
71-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/utils/CanvasUtils.ts#L14">source/utils/CanvasUtils.ts:14</a></li></ul></aside></li></ul></section></section></div>
71+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/utils/CanvasUtils.ts#L14">source/utils/CanvasUtils.ts:14</a></li></ul></aside></li></ul></section></section></div>
7272
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
7373
<div class="tsd-navigation settings">
7474
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

docs/classes/DebugProvider.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h4>Hierarchy</h4>
2525
<ul class="tsd-hierarchy">
2626
<li><span class="target">DebugProvider</span></li></ul></li></ul></section><aside class="tsd-sources">
2727
<ul>
28-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/providers/DebugProvider.ts#L8">source/providers/DebugProvider.ts:8</a></li></ul></aside>
28+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/providers/DebugProvider.ts#L8">source/providers/DebugProvider.ts:8</a></li></ul></aside>
2929
<section class="tsd-panel-group tsd-index-group">
3030
<section class="tsd-panel tsd-index-panel">
3131
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -67,46 +67,46 @@ <h3 class="tsd-anchor-link"><span>bounds</span><a href="#bounds" aria-label="Per
6767
</div><aside class="tsd-sources">
6868
<p>Inherited from <a href="MapProvider.html">MapProvider</a>.<a href="MapProvider.html#bounds">bounds</a></p>
6969
<ul>
70-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/providers/MapProvider.ts#L30">source/providers/MapProvider.ts:30</a></li></ul></aside></section>
70+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/providers/MapProvider.ts#L30">source/providers/MapProvider.ts:30</a></li></ul></aside></section>
7171
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="center" class="tsd-anchor"></a>
7272
<h3 class="tsd-anchor-link"><span>center</span><a href="#center" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
7373
<div class="tsd-signature">center<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
7474
<div class="tsd-comment tsd-typography"><p>Map center point.</p>
7575
</div><aside class="tsd-sources">
7676
<p>Inherited from <a href="MapProvider.html">MapProvider</a>.<a href="MapProvider.html#center">center</a></p>
7777
<ul>
78-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/providers/MapProvider.ts#L35">source/providers/MapProvider.ts:35</a></li></ul></aside></section>
78+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/providers/MapProvider.ts#L35">source/providers/MapProvider.ts:35</a></li></ul></aside></section>
7979
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="maxZoom" class="tsd-anchor"></a>
8080
<h3 class="tsd-anchor-link"><span>max<wbr/>Zoom</span><a href="#maxZoom" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
8181
<div class="tsd-signature">max<wbr/>Zoom<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 20</span></div>
8282
<div class="tsd-comment tsd-typography"><p>Maximum tile level.</p>
8383
</div><aside class="tsd-sources">
8484
<p>Inherited from <a href="MapProvider.html">MapProvider</a>.<a href="MapProvider.html#maxZoom">maxZoom</a></p>
8585
<ul>
86-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/providers/MapProvider.ts#L25">source/providers/MapProvider.ts:25</a></li></ul></aside></section>
86+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/providers/MapProvider.ts#L25">source/providers/MapProvider.ts:25</a></li></ul></aside></section>
8787
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="minZoom" class="tsd-anchor"></a>
8888
<h3 class="tsd-anchor-link"><span>min<wbr/>Zoom</span><a href="#minZoom" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
8989
<div class="tsd-signature">min<wbr/>Zoom<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
9090
<div class="tsd-comment tsd-typography"><p>Minimum tile level.</p>
9191
</div><aside class="tsd-sources">
9292
<p>Inherited from <a href="MapProvider.html">MapProvider</a>.<a href="MapProvider.html#minZoom">minZoom</a></p>
9393
<ul>
94-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/providers/MapProvider.ts#L20">source/providers/MapProvider.ts:20</a></li></ul></aside></section>
94+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/providers/MapProvider.ts#L20">source/providers/MapProvider.ts:20</a></li></ul></aside></section>
9595
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="name" class="tsd-anchor"></a>
9696
<h3 class="tsd-anchor-link"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
9797
<div class="tsd-signature">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#39;&#39;</span></div>
9898
<div class="tsd-comment tsd-typography"><p>Name of the map provider</p>
9999
</div><aside class="tsd-sources">
100100
<p>Inherited from <a href="MapProvider.html">MapProvider</a>.<a href="MapProvider.html#name">name</a></p>
101101
<ul>
102-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/providers/MapProvider.ts#L15">source/providers/MapProvider.ts:15</a></li></ul></aside></section>
102+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/providers/MapProvider.ts#L15">source/providers/MapProvider.ts:15</a></li></ul></aside></section>
103103
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="resolution" class="tsd-anchor"></a>
104104
<h3 class="tsd-anchor-link"><span>resolution</span><a href="#resolution" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
105105
<div class="tsd-signature">resolution<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 256</span></div>
106106
<div class="tsd-comment tsd-typography"><p>Resolution in px of each tile.</p>
107107
</div><aside class="tsd-sources">
108108
<ul>
109-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/providers/DebugProvider.ts#L13">source/providers/DebugProvider.ts:13</a></li></ul></aside></section></section>
109+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/providers/DebugProvider.ts#L13">source/providers/DebugProvider.ts:13</a></li></ul></aside></section></section>
110110
<section class="tsd-panel-group tsd-member-group">
111111
<h2>Methods</h2>
112112
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fetchTile" class="tsd-anchor"></a>
@@ -137,7 +137,7 @@ <h5>y: <span class="tsd-signature-type">number</span></h5>
137137
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
138138
<p>Overrides <a href="MapProvider.html">MapProvider</a>.<a href="MapProvider.html#fetchTile">fetchTile</a></p>
139139
<ul>
140-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/providers/DebugProvider.ts#L15">source/providers/DebugProvider.ts:15</a></li></ul></aside></li></ul></section>
140+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/providers/DebugProvider.ts#L15">source/providers/DebugProvider.ts:15</a></li></ul></aside></li></ul></section>
141141
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getMetaData" class="tsd-anchor"></a>
142142
<h3 class="tsd-anchor-link"><span>get<wbr/>Meta<wbr/>Data</span><a href="#getMetaData" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
143143
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
@@ -149,7 +149,7 @@ <h3 class="tsd-anchor-link"><span>get<wbr/>Meta<wbr/>Data</span><a href="#getMet
149149
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
150150
<p>Inherited from <a href="MapProvider.html">MapProvider</a>.<a href="MapProvider.html#getMetaData">getMetaData</a></p>
151151
<ul>
152-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/providers/MapProvider.ts#L57">source/providers/MapProvider.ts:57</a></li></ul></aside></li></ul></section></section></div>
152+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/providers/MapProvider.ts#L57">source/providers/MapProvider.ts:57</a></li></ul></aside></li></ul></section></section></div>
153153
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
154154
<div class="tsd-navigation settings">
155155
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

docs/classes/Geolocation.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h4>Hierarchy</h4>
2323
<ul class="tsd-hierarchy">
2424
<li><span class="target">Geolocation</span></li></ul></section><aside class="tsd-sources">
2525
<ul>
26-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/utils/Geolocation.ts#L4">source/utils/Geolocation.ts:4</a></li></ul></aside>
26+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/utils/Geolocation.ts#L4">source/utils/Geolocation.ts:4</a></li></ul></aside>
2727
<section class="tsd-panel-group tsd-index-group">
2828
<section class="tsd-panel tsd-index-panel">
2929
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -54,7 +54,7 @@ <h5>latitude: <span class="tsd-signature-type">number</span></h5></li>
5454
<h5>longitude: <span class="tsd-signature-type">number</span></h5></li></ul></div>
5555
<h4 class="tsd-returns-title">Returns <a href="Geolocation.html" class="tsd-signature-type" data-tsd-kind="Class">Geolocation</a></h4><aside class="tsd-sources">
5656
<ul>
57-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/utils/Geolocation.ts#L16">source/utils/Geolocation.ts:16</a></li></ul></aside></li></ul></section></section>
57+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/utils/Geolocation.ts#L16">source/utils/Geolocation.ts:16</a></li></ul></aside></li></ul></section></section>
5858
<section class="tsd-panel-group tsd-member-group">
5959
<h2>Properties</h2>
6060
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="latitude" class="tsd-anchor"></a>
@@ -63,14 +63,14 @@ <h3 class="tsd-anchor-link"><span>latitude</span><a href="#latitude" aria-label=
6363
<div class="tsd-comment tsd-typography"><p>Latitude in degrees. Range from -90° to 90°.</p>
6464
</div><aside class="tsd-sources">
6565
<ul>
66-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/utils/Geolocation.ts#L9">source/utils/Geolocation.ts:9</a></li></ul></aside></section>
66+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/utils/Geolocation.ts#L9">source/utils/Geolocation.ts:9</a></li></ul></aside></section>
6767
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="longitude" class="tsd-anchor"></a>
6868
<h3 class="tsd-anchor-link"><span>longitude</span><a href="#longitude" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
6969
<div class="tsd-signature">longitude<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
7070
<div class="tsd-comment tsd-typography"><p>Latitude in degrees. Range from -180° to 180°.</p>
7171
</div><aside class="tsd-sources">
7272
<ul>
73-
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/8f8812d/source/utils/Geolocation.ts#L14">source/utils/Geolocation.ts:14</a></li></ul></aside></section></section></div>
73+
<li>Defined in <a href="https://github.com/tentone/geo-three/blob/ec8c47b/source/utils/Geolocation.ts#L14">source/utils/Geolocation.ts:14</a></li></ul></aside></section></section></div>
7474
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
7575
<div class="tsd-navigation settings">
7676
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

0 commit comments

Comments
 (0)