Skip to content

Commit e72ee69

Browse files
committed
Website updates
1 parent e436901 commit e72ee69

13 files changed

+164
-83
lines changed

dist/en/main/apidoc/module-ol_events_SnapEvent.SnapEvent.html

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,86 @@ <h4 class="name">
916916

917917

918918

919+
920+
</dl>
921+
922+
923+
924+
925+
926+
927+
928+
929+
930+
931+
932+
933+
934+
</dd>
935+
936+
937+
938+
<dt class="">
939+
940+
<div class="nameContainer">
941+
<div class="anchor" id="event:unsnap">
942+
</div>
943+
<h4 class="name">
944+
unsnap
945+
946+
947+
948+
</h4>
949+
950+
<div class="tag-source">
951+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/events/SnapEvent.js">events/SnapEvent.js</a>,
952+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/events/SnapEvent.js#L16">line 16</a>
953+
</div>
954+
955+
</div>
956+
957+
958+
</dt>
959+
<dd class="">
960+
961+
962+
963+
964+
<div class="description">
965+
<p>Triggered if no longer snapped</p>
966+
</div>
967+
968+
969+
970+
971+
972+
973+
974+
975+
976+
977+
978+
<dl class="details">
979+
980+
981+
982+
983+
984+
985+
986+
987+
988+
989+
990+
991+
992+
993+
994+
995+
996+
997+
998+
919999

9201000
</dl>
9211001

dist/en/main/apidoc/module-ol_interaction_Snap-Snap.html

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
<li data-name="error"><a href="module-ol_events_Event-BaseEvent.html#event:error">error</a>
101101
<li data-name="propertychange"><a href="module-ol_Object.ObjectEvent.html#event:propertychange">propertychange</a>
102102
<li data-name="snap"><a href="module-ol_events_SnapEvent.SnapEvent.html#event:snap">snap</a>
103+
<li data-name="unsnap"><a href="module-ol_events_SnapEvent.SnapEvent.html#event:unsnap">unsnap</a>
103104
</ul>
104105
</div>
105106
<li class="loading">Loading …
@@ -175,7 +176,7 @@ <h4 class="name">
175176

176177
<div class="tag-source">
177178
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js">interaction/Snap.js</a>,
178-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L319">line 319</a>
179+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L320">line 320</a>
179180
</div>
180181

181182
</div>
@@ -497,6 +498,18 @@ <h5>Fires:</h5>
497498
Triggered upon snapping to vertex or edge
498499

499500
</li>
501+
502+
<li class="">
503+
<code><a href="module-ol_events_SnapEvent.SnapEvent.html#event:unsnap">unsnap</a></code>
504+
505+
(<a href="module-ol_events_SnapEvent.SnapEvent.html">SnapEvent</a>)
506+
507+
508+
509+
-
510+
Triggered if no longer snapped
511+
512+
</li>
500513
</ul>
501514

502515

@@ -594,7 +607,7 @@ <h4 class="name">
594607

595608
<div class="tag-source">
596609
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js">interaction/Snap.js</a>,
597-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L454">line 454</a>
610+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L446">line 446</a>
598611
</div>
599612

600613
</div>
@@ -1663,7 +1676,7 @@ <h4 class="name">
16631676

16641677
<div class="tag-source">
16651678
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js">interaction/Snap.js</a>,
1666-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L584">line 584</a>
1679+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L575">line 575</a>
16671680
</div>
16681681

16691682
</div>
@@ -2128,7 +2141,7 @@ <h4 class="name">
21282141

21292142
<div class="tag-source">
21302143
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js">interaction/Snap.js</a>,
2131-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L673">line 673</a>
2144+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L663">line 663</a>
21322145
</div>
21332146

21342147
</div>

dist/en/main/apidoc/module-ol_interaction_Snap.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -545,21 +545,21 @@ <h5 class="subsection-title">Properties:</h5>
545545

546546
<tr>
547547

548-
<td class="name"><code>segment</code></td>
548+
<td class="name"><code>intersectionFeature</code></td>
549549

550550

551551
<td class="type">
552552

553553

554-
<span class="param-type"><a href="module-ol_interaction_Snap.html#~Segment">Segment</a></span>
555-
554+
<span class="param-type"><a href="module-ol_Feature-Feature.html">Feature</a></span>
556555

556+
| undefined
557557

558558

559559
</td>
560560

561561
<td class="description last">
562-
<p>Segment.</p>
562+
<p>Feature which intersects.</p>
563563

564564
</td>
565565
</tr>
@@ -568,21 +568,21 @@ <h5 class="subsection-title">Properties:</h5>
568568

569569
<tr>
570570

571-
<td class="name"><code>isIntersection</code></td>
571+
<td class="name"><code>segment</code></td>
572572

573573

574574
<td class="type">
575575

576576

577-
<span class="param-type">boolean</span>
577+
<span class="param-type"><a href="module-ol_interaction_Snap.html#~Segment">Segment</a></span>
578+
578579

579-
| undefined
580580

581581

582582
</td>
583583

584584
<td class="description last">
585-
<p>Is intersection.</p>
585+
<p>Segment.</p>
586586

587587
</td>
588588
</tr>
@@ -634,7 +634,7 @@ <h4 class="name">
634634

635635
<div class="tag-source">
636636
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js">interaction/Snap.js</a>,
637-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L46">line 46</a>
637+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Snap.js#L47">line 47</a>
638638
</div>
639639

640640
</div>

dist/en/main/apidoc/navigation.tmpl.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3160,6 +3160,7 @@
31603160
<li data-name="error"><a href="module-ol_events_Event-BaseEvent.html#event:error">error</a>
31613161
<li data-name="propertychange"><a href="module-ol_Object.ObjectEvent.html#event:propertychange">propertychange</a>
31623162
<li data-name="snap"><a href="module-ol_events_SnapEvent.SnapEvent.html#event:snap">snap</a>
3163+
<li data-name="unsnap"><a href="module-ol_events_SnapEvent.SnapEvent.html#event:unsnap">unsnap</a>
31633164
</ul>
31643165
</div>
31653166
<li class="item item-module" data-longname="module:ol/interaction/Snap" data-name="ol/interaction/snap">

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/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/events/SnapEvent.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/events/SnapEvent.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ export const SnapEventType = {
1313
* @api
1414
*/
1515
SNAP: 'snap',
16+
/**
17+
* Triggered if no longer snapped
18+
* @event SnapEvent#unsnap
19+
* @api
20+
*/
1621
UNSNAP: 'unsnap',
1722
};
1823

0 commit comments

Comments
 (0)