Skip to content

Commit 34ad017

Browse files
committed
Website updates
1 parent de33746 commit 34ad017

File tree

8 files changed

+14
-8
lines changed

8 files changed

+14
-8
lines changed

dist/en/main/examples/filter-webgl-line.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,11 @@ <h5 class="source-heading">main.js</h5>
311311
<pre><code id="example-js-source" class="language-js">import IGC from &#x27;ol/format/IGC.js&#x27;;
312312
import Map from &#x27;ol/Map.js&#x27;;
313313
import View from &#x27;ol/View.js&#x27;;
314-
import WebGLVectorLayer from &#x27;ol/layer/WebGLVector.js&#x27;;
315314
import {OSM, Vector as VectorSource} from &#x27;ol/source.js&#x27;;
316-
import {Tile as TileLayer} from &#x27;ol/layer.js&#x27;;
315+
import {
316+
Tile as TileLayer,
317+
WebGLVector as WebGLVectorLayer,
318+
} from &#x27;ol/layer.js&#x27;;
317319

318320
const lineStyle &#x3D; {
319321
&#x27;stroke-width&#x27;: 4,

dist/en/main/examples/filter-webgl-line.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.

dist/en/main/examples/filter-webgl-line.js.map

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

dist/en/main/examples/webgl-draw-line.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,12 @@ <h5 class="source-heading">main.js</h5>
355355
<pre><code id="example-js-source" class="language-js">import GeoJSON from &#x27;ol/format/GeoJSON.js&#x27;;
356356
import Map from &#x27;ol/Map.js&#x27;;
357357
import View from &#x27;ol/View.js&#x27;;
358-
import WebGLVectorLayer from &#x27;ol/layer/WebGLVector.js&#x27;;
359358
import {Draw, Modify, Snap} from &#x27;ol/interaction.js&#x27;;
360359
import {OSM, Vector as VectorSource} from &#x27;ol/source.js&#x27;;
361-
import {Tile as TileLayer} from &#x27;ol/layer.js&#x27;;
360+
import {
361+
Tile as TileLayer,
362+
WebGLVector as WebGLVectorLayer,
363+
} from &#x27;ol/layer.js&#x27;;
362364
import {fromLonLat} from &#x27;ol/proj.js&#x27;;
363365

364366
/**

dist/en/main/examples/webgl-draw-line.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)