Skip to content

Commit 39f08e4

Browse files
committed
Website updates
1 parent 78b562b commit 39f08e4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

dist/en/main/examples/numpytile.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ <h5>Contrast stretch</h5>
144144

145145
<div class="row-fluid">
146146
<h5 class="source-heading">main.js</h5>
147-
<pre><code id="example-js-source" class="language-js">import Map from &#x27;ol/Map.js&#x27;;
147+
<pre><code id="example-js-source" class="language-js">import NumpyLoader from &#x27;@planet/ol-numpytiles&#x27;;
148+
import Map from &#x27;ol/Map.js&#x27;;
148149
import View from &#x27;ol/View.js&#x27;;
149150
import TileLayer from &#x27;ol/layer/WebGLTile.js&#x27;;
150151
import {fromLonLat} from &#x27;ol/proj.js&#x27;;
@@ -281,7 +282,6 @@ <h5 class="source-heading">index.html</h5>
281282
&lt;/ul&gt;
282283
&lt;/div&gt;
283284

284-
&lt;script src="https://cdn.jsdelivr.net/npm/@planet/ol-numpytiles@3.0.1/umd/NumpyLoader.js"&gt;&lt;/script&gt;
285285
&lt;script type="module" src="main.js"&gt;&lt;/script&gt;
286286
&lt;/body&gt;
287287
&lt;/html&gt;</code></pre>
@@ -292,7 +292,8 @@ <h5 class="source-heading">package.json</h5>
292292
<pre><code id="example-pkg-source" class="language-json">{
293293
&quot;name&quot;: &quot;numpytile&quot;,
294294
&quot;dependencies&quot;: {
295-
&quot;ol&quot;: &quot;10.4.1-dev&quot;
295+
&quot;ol&quot;: &quot;10.4.1-dev&quot;,
296+
&quot;@planet/ol-numpytiles&quot;: &quot;^3.0.1&quot;
296297
},
297298
&quot;devDependencies&quot;: {
298299
&quot;vite&quot;: &quot;^3.2.3&quot;
@@ -306,7 +307,6 @@ <h5 class="source-heading">package.json</h5>
306307
</div>
307308

308309
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"></script>
309-
<script src="https://cdn.jsdelivr.net/npm/@planet/ol-numpytiles@3.0.1/umd/NumpyLoader.js"></script>
310310
<script src="common.js"></script>
311311
<script src="numpytile.js"></script>
312312
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.28.0/components/prism-core.min.js"></script>

dist/en/main/examples/numpytile.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.

0 commit comments

Comments
 (0)