Skip to content

Commit fc2c853

Browse files
committed
Website updates
1 parent 347c1b6 commit fc2c853

File tree

11 files changed

+37
-19
lines changed

11 files changed

+37
-19
lines changed

dist/en/main/apidoc/module-ol_control_OverviewMap-OverviewMap.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ <h4 class="name">
998998

999999
<div class="tag-source">
10001000
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js">control/OverviewMap.js</a>,
1001-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L625">line 625</a>
1001+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L627">line 627</a>
10021002
</div>
10031003

10041004
</div>
@@ -1088,7 +1088,7 @@ <h4 class="name">
10881088

10891089
<div class="tag-source">
10901090
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js">control/OverviewMap.js</a>,
1091-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L586">line 586</a>
1091+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L588">line 588</a>
10921092
</div>
10931093

10941094
</div>
@@ -1362,7 +1362,7 @@ <h4 class="name">
13621362

13631363
<div class="tag-source">
13641364
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js">control/OverviewMap.js</a>,
1365-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L665">line 665</a>
1365+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L667">line 667</a>
13661366
</div>
13671367

13681368
</div>
@@ -1637,7 +1637,7 @@ <h4 class="name">
16371637

16381638
<div class="tag-source">
16391639
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js">control/OverviewMap.js</a>,
1640-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L634">line 634</a>
1640+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L636">line 636</a>
16411641
</div>
16421642

16431643
</div>
@@ -2063,7 +2063,7 @@ <h4 class="name">
20632063

20642064
<div class="tag-source">
20652065
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js">control/OverviewMap.js</a>,
2066-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L674">line 674</a>
2066+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L676">line 676</a>
20672067
</div>
20682068

20692069
</div>
@@ -2367,7 +2367,7 @@ <h4 class="name">
23672367

23682368
<div class="tag-source">
23692369
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js">control/OverviewMap.js</a>,
2370-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L613">line 613</a>
2370+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L615">line 615</a>
23712371
</div>
23722372

23732373
</div>
@@ -2495,7 +2495,7 @@ <h4 class="name">
24952495

24962496
<div class="tag-source">
24972497
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js">control/OverviewMap.js</a>,
2498-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L595">line 595</a>
2498+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L597">line 597</a>
24992499
</div>
25002500

25012501
</div>
@@ -2621,7 +2621,7 @@ <h4 class="name">
26212621

26222622
<div class="tag-source">
26232623
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js">control/OverviewMap.js</a>,
2624-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L272">line 272</a>
2624+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L274">line 274</a>
26252625
</div>
26262626

26272627
</div>
@@ -2907,7 +2907,7 @@ <h4 class="name">
29072907

29082908
<div class="tag-source">
29092909
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js">control/OverviewMap.js</a>,
2910-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L643">line 643</a>
2910+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/control/OverviewMap.js#L645">line 645</a>
29112911
</div>
29122912

29132913
</div>

dist/en/main/apidoc/theme/ol.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,3 +348,7 @@
348348
.ol-overviewmap .ol-overviewmap-box:hover {
349349
cursor: move;
350350
}
351+
352+
.ol-overviewmap .ol-viewport:hover {
353+
cursor: pointer;
354+
}

dist/en/main/examples/common.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/common.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/theme/ol.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,3 +348,7 @@
348348
.ol-overviewmap .ol-overviewmap-box:hover {
349349
cursor: move;
350350
}
351+
352+
.ol-overviewmap .ol-viewport:hover {
353+
cursor: pointer;
354+
}

dist/en/main/ol/control/OverviewMap.d.ts.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/ol/control/OverviewMap.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,15 +249,17 @@ class OverviewMap extends Control {
249249

250250
scope.getMap().getView().setCenterInternal(coordinates);
251251

252-
window.removeEventListener('mousemove', move);
253-
window.removeEventListener('mouseup', endMoving);
252+
window.removeEventListener('pointermove', move);
253+
window.removeEventListener('pointerup', endMoving);
254254
};
255255

256256
/* Binding */
257257

258-
overlayBox.addEventListener('mousedown', function () {
259-
window.addEventListener('mousemove', move);
260-
window.addEventListener('mouseup', endMoving);
258+
this.ovmapDiv_.addEventListener('pointerdown', function () {
259+
if (event.target === overlayBox) {
260+
window.addEventListener('pointermove', move);
261+
}
262+
window.addEventListener('pointerup', endMoving);
261263
});
262264
}
263265

dist/en/main/ol/dist/ol.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/ol/dist/ol.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/ol/ol.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,3 +348,7 @@
348348
.ol-overviewmap .ol-overviewmap-box:hover {
349349
cursor: move;
350350
}
351+
352+
.ol-overviewmap .ol-viewport:hover {
353+
cursor: pointer;
354+
}

0 commit comments

Comments
 (0)