Skip to content

Commit 9e5bb23

Browse files
committed
docs: fix several selectors in documentation
1 parent f2cd281 commit 9e5bb23

File tree

18 files changed

+44
-44
lines changed

18 files changed

+44
-44
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ Please check your app carefully when updating to the new major version.
608608

609609
### Features
610610

611-
* **ol-interaction-dragbox:** add DragBox component wrapper ([3eb1fff](https://github.com/MelihAltintas/vue3-openlayers/commit/3eb1fff345b81c2990e5aa84eaedea3b39164e19)), closes [#307](https://github.com/MelihAltintas/vue3-openlayers/issues/307)
611+
* **ol-interaction-drag-box:** add DragBox component wrapper ([3eb1fff](https://github.com/MelihAltintas/vue3-openlayers/commit/3eb1fff345b81c2990e5aa84eaedea3b39164e19)), closes [#307](https://github.com/MelihAltintas/vue3-openlayers/issues/307)
612612
* **ol-vector-layer:** add `background` property ([f51cd25](https://github.com/MelihAltintas/vue3-openlayers/commit/f51cd25d93820459209892d817c34be73094faf1))
613613

614614
## [6.2.1](https://github.com/MelihAltintas/vue3-openlayers/compare/v6.2.0...v6.2.1) (2024-03-25)

docs/.vitepress/config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ export const config: UserConfig = {
255255
link: "/componentsguide/mapcontrols/search/",
256256
},
257257
{
258-
text: "ol-scaleline-control",
258+
text: "ol-scale-line-control",
259259
link: "/componentsguide/mapcontrols/scaleline/",
260260
},
261261
{
@@ -339,7 +339,7 @@ export const config: UserConfig = {
339339
link: "/componentsguide/styles/fill/",
340340
},
341341
{
342-
text: "ol-style-flowline",
342+
text: "ol-style-flow-line",
343343
link: "/componentsguide/styles/flowline/",
344344
},
345345
{
@@ -369,15 +369,15 @@ export const config: UserConfig = {
369369
link: "/componentsguide/interactions/draw/",
370370
},
371371
{
372-
text: "ol-interaction-dragbox",
372+
text: "ol-interaction-drag-box",
373373
link: "/componentsguide/interactions/dragbox/",
374374
},
375375
{
376-
text: "ol-interaction-dragrotate",
376+
text: "ol-interaction-drag-rotate",
377377
link: "/componentsguide/interactions/dragrotate/",
378378
},
379379
{
380-
text: "ol-interaction-dragrotatezoom",
380+
text: "ol-interaction-drag-rotate-and-zoom",
381381
link: "/componentsguide/interactions/dragrotatezoom/",
382382
},
383383
{

docs/componentsguide/interactions/dragbox/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ol-interaction-dragbox
1+
# ol-interaction-drag-box
22

33
> Allows the user to draw a vector box by clicking and dragging on the map,
44
> normally combined with a _condition_ that limits it to when the `shift` or other key is held down.
@@ -21,9 +21,9 @@ import VectorSourceDemo1 from "@demos/VectorSourceDemo1.vue"
2121

2222
## Usage
2323

24-
| Plugin Usage | Explicit Import |
25-
| -------------------------- | :-----------------------------------: |
26-
| `<ol-interaction-dragbox>` | `<Interactions.OlInteractionDragbox>` |
24+
| Plugin Usage | Explicit Import |
25+
| --------------------------- | :-----------------------------------: |
26+
| `<ol-interaction-drag-box>` | `<Interactions.OlInteractionDragbox>` |
2727

2828
::: code-group
2929

@@ -50,9 +50,9 @@ You have access to all Events from the underlying interaction.
5050
Check out [the official OpenLayers docs](https://openlayers.org/en/latest/apidoc/module-ol_interaction_DragBox-DragBox.html) to see the available events tht will be fired.
5151

5252
```html
53-
<ol-interaction-dragbox @error="handleEvent">
53+
<ol-interaction-drag-box @error="handleEvent">
5454
<!-- ... -->
55-
</ol-interaction-dragbox>
55+
</ol-interaction-drag-box>
5656
```
5757

5858
## Methods
@@ -65,7 +65,7 @@ To access the source, you can use a `ref()` as shown below:
6565
```vue
6666
<template>
6767
<!-- ... -->
68-
<ol-interaction-dragbox ref="dragboxRef" @error="handleEvent" />
68+
<ol-interaction-drag-box ref="dragboxRef" @error="handleEvent" />
6969
<!-- ... -->
7070
</template>
7171

docs/componentsguide/interactions/dragrotate/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ol-interaction-dragrotate
1+
# ol-interaction-drag-rotate
22

33
> Rotate the map by clicking and dragging on the map, normally combined with an `ol/events/condition` that limits it to when the `alt` and `shift` keys are held down.
44
@@ -20,9 +20,9 @@ import DragRotateDemo from "@demos/DragRotateDemo.vue"
2020

2121
## Usage
2222

23-
| Plugin Usage | Explicit Import |
24-
| ----------------------------- | :--------------------------------------: |
25-
| `<ol-interaction-dragrotate>` | `<Interactions.OlInteractionDragrotate>` |
23+
| Plugin Usage | Explicit Import |
24+
| ------------------------------ | :--------------------------------------: |
25+
| `<ol-interaction-drag-rotate>` | `<Interactions.OlInteractionDragrotate>` |
2626

2727
::: code-group
2828

docs/componentsguide/interactions/dragrotatezoom/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ol-interaction-dragrotatezoom
1+
# ol-interaction-drag-rotate-and-zoom
22

33
> Zoom and rotate the map by clicking and dragging on the map. By default, this interaction is limited to when the `shift` key is held down.
44
@@ -20,9 +20,9 @@ import DragRotateZoomDemo from "@demos/DragRotateZoomDemo.vue"
2020

2121
## Usage
2222

23-
| Plugin Usage | Explicit Import |
24-
| --------------------------------- | :------------------------------------------: |
25-
| `<ol-interaction-dragrotatezoom>` | `<Interactions.OlInteractionDragrotatezoom>` |
23+
| Plugin Usage | Explicit Import |
24+
| --------------------------------------- | :------------------------------------------: |
25+
| `<ol-interaction-drag-rotate-and-zoom>` | `<Interactions.OlInteractionDragrotatezoom>` |
2626

2727
::: code-group
2828

docs/componentsguide/mapcontrols/scaleline/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ol-scaleline-control
1+
# ol-scale-line-control
22

33
> A Scale Line control for OpenLayers.
44
@@ -20,9 +20,9 @@ import ScalelineControlDemo from "@demos/ScalelineControlDemo.vue"
2020

2121
## Usage
2222

23-
| Plugin Usage | Explicit Import |
24-
| ------------------------ | :--------------------------------: |
25-
| `<ol-scaleline-control>` | `<MapControls.OlScalelineControl>` |
23+
| Plugin Usage | Explicit Import |
24+
| ------------------------- | :--------------------------------: |
25+
| `<ol-scale-line-control>` | `<MapControls.OlScalelineControl>` |
2626

2727
::: code-group
2828

docs/componentsguide/styles/flowline/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ol-style-flowline
1+
# ol-style-flow-line
22

33
> Style of a flowline in a vector layer
44
@@ -19,9 +19,9 @@ import FlowLineDemo from "@demos/FlowLineDemo.vue"
1919

2020
## Usage
2121

22-
| Plugin Usage | Explicit Import |
23-
| --------------------- | :------------------------: |
24-
| `<ol-style-flowline>` | `<Styles.OlStyleFlowline>` |
22+
| Plugin Usage | Explicit Import |
23+
| ---------------------- | :------------------------: |
24+
| `<ol-style-flow-line>` | `<Styles.OlStyleFlowline>` |
2525

2626
::: code-group
2727

src/components/interaction/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import type { Vue3OpenlayersGlobalOptions } from "@/types";
1616
function install(app: App, options?: Vue3OpenlayersGlobalOptions) {
1717
app.component("OlInteractionClusterSelect", OlInteractionClusterSelect);
1818
app.component("OlInteractionDragBox", OlInteractionDragBox);
19-
app.component("OlInteractionDragAndRotate", OlInteractionDragRotate);
19+
app.component("OlInteractionDragRotate", OlInteractionDragRotate);
2020
app.component(
2121
"OlInteractionDragRotateAndZoom",
2222
OlInteractionDragRotateAndZoom,

src/demos/AppDemo.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
</ol-tile-layer>
7878
</ol-overview-map-control>
7979

80-
<ol-scaleline-control />
80+
<ol-scale-line-control />
8181
<ol-rotate-control />
8282
<ol-zoom-control />
8383
<ol-zoom-slider-control />
@@ -230,7 +230,7 @@
230230
<ol-source-vector>
231231
<ol-feature ref="animationPath">
232232
<ol-geom-line-string :coordinates="path"></ol-geom-line-string>
233-
<ol-style-flowline
233+
<ol-style-flow-line
234234
color="red"
235235
color2="yellow"
236236
:width="10"

src/demos/DragRotateDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<ol-source-osm />
1616
</ol-tile-layer>
1717

18-
<ol-interaction-dragrotate />
18+
<ol-interaction-drag-rotate />
1919
</ol-map>
2020
</template>
2121

0 commit comments

Comments
 (0)