Skip to content

Commit e5b65eb

Browse files
committed
Merge remote-tracking branch 'origin/main' into feat/tree-shaking-v2
2 parents 7bd1d57 + 07395b7 commit e5b65eb

File tree

12 files changed

+162
-168
lines changed

12 files changed

+162
-168
lines changed

CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,54 @@
11

22

3+
## [11.6.2](https://github.com/MelihAltintas/vue3-openlayers/compare/v11.6.1...v11.6.2) (2025-06-05)
4+
5+
6+
### Bug Fixes
7+
8+
* **ol-interaction-select:** the `style` property was always overruled with a default style ([6871d48](https://github.com/MelihAltintas/vue3-openlayers/commit/6871d48d8c63460e1a200a67d649ea7ce2f931d1)), closes [#428](https://github.com/MelihAltintas/vue3-openlayers/issues/428) [#431](https://github.com/MelihAltintas/vue3-openlayers/issues/431)
9+
10+
## [11.6.1](https://github.com/MelihAltintas/vue3-openlayers/compare/v11.6.0...v11.6.1) (2025-05-05)
11+
12+
13+
### Bug Fixes
14+
15+
* **ol-*-layer:** support missing `preview` option ([1c3e85c](https://github.com/MelihAltintas/vue3-openlayers/commit/1c3e85c7f5009b13013d87b4493e07ea8a51a862)), closes [#423](https://github.com/MelihAltintas/vue3-openlayers/issues/423)
16+
* **ol-interaction-transform:** ol-interaction-transform not working ([f027dca](https://github.com/MelihAltintas/vue3-openlayers/commit/f027dca352305d131fedbd69b4f2545e778d6e27))
17+
18+
# [11.6.0](https://github.com/MelihAltintas/vue3-openlayers/compare/v11.5.0...v11.6.0) (2025-05-03)
19+
20+
21+
### Bug Fixes
22+
23+
* import correctly ([9c6fa3d](https://github.com/MelihAltintas/vue3-openlayers/commit/9c6fa3d867e4a28a958ae85ff94afedd1787cf21))
24+
* **ol-layer-*:** handle undefined layer opacity correctly ([#425](https://github.com/MelihAltintas/vue3-openlayers/issues/425)) ([84943c8](https://github.com/MelihAltintas/vue3-openlayers/commit/84943c80cd689929396b985620e6867f777f0c7c))
25+
26+
27+
### Features
28+
29+
* **ol-style-text:** support all ol props ([c1d050f](https://github.com/MelihAltintas/vue3-openlayers/commit/c1d050f3dd077e9e13d08e2161f2029456313eec)), closes [#411](https://github.com/MelihAltintas/vue3-openlayers/issues/411)
30+
31+
# [11.5.0](https://github.com/MelihAltintas/vue3-openlayers/compare/v11.4.0...v11.5.0) (2025-02-26)
32+
33+
34+
### Features
35+
36+
* export all types ([8a9819c](https://github.com/MelihAltintas/vue3-openlayers/commit/8a9819c963149ce369295ee7b86998889aedebbd))
37+
38+
# [11.4.0](https://github.com/MelihAltintas/vue3-openlayers/compare/v11.3.5...v11.4.0) (2025-02-26)
39+
40+
41+
### Features
42+
43+
* export utility functions and types `LayersCommonProps`, `layersCommonDefaultProps` and `useLayerDefaults` for layers ([ae1f2f1](https://github.com/MelihAltintas/vue3-openlayers/commit/ae1f2f1bf8c0ccc96eca1d765f032baab5ac53ab))
44+
45+
## [11.3.5](https://github.com/MelihAltintas/vue3-openlayers/compare/v11.3.4...v11.3.5) (2025-02-26)
46+
47+
48+
### Bug Fixes
49+
50+
* **ol-*-layer:** make `displayInLayerSwitcher` prop optional ([#415](https://github.com/MelihAltintas/vue3-openlayers/issues/415)) ([2298ed8](https://github.com/MelihAltintas/vue3-openlayers/commit/2298ed83a00417753e27f1ca277c6a461019ce04))
51+
352
## [11.3.4](https://github.com/MelihAltintas/vue3-openlayers/compare/v11.3.3...v11.3.4) (2025-02-24)
453

554

docs/componentsguide/styles/text/index.md

Lines changed: 7 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -34,87 +34,13 @@ Add text to shapes
3434

3535
## Properties
3636

37-
### font
37+
### Props from OpenLayers
3838

39-
- **Type**: `String`
39+
Properties are passed-trough from OpenLayers directly.
40+
Their types and default values can be checked-out [in the official OpenLayers docs](https://openlayers.org/en/latest/apidoc/module-ol_style_Text-Text.html).
41+
Only some properties deviate caused by reserved keywords from Vue / HTML.
42+
This deviating props are described in the section below.
4043

41-
### maxAngle
44+
### Deviating Properties
4245

43-
- **Type**: `Number`
44-
- **Default**: `Math.PI / 4`
45-
46-
### offsetX
47-
48-
- **Type**: `Number`
49-
- **Default**: `0`
50-
51-
### offsetY
52-
53-
- **Type**: `Number`
54-
- **Default**: `0`
55-
56-
### overflow
57-
58-
- **Type**: `Boolean`
59-
- **Default**: `false`
60-
61-
### placement
62-
63-
- **Type**: `String`
64-
- **Default**: `point`
65-
66-
### scale
67-
68-
- **Type**: `Number`
69-
70-
### rotateWithView
71-
72-
- **Type**: `Boolean`
73-
- **Default**: `false`
74-
75-
### rotation
76-
77-
- **Type**: `Number`
78-
- **Default**: `0`
79-
80-
### text
81-
82-
- **Type**: `String`
83-
84-
### textAlign
85-
86-
- **Type**: `String`
87-
88-
### textBaseline
89-
90-
- **Type**: `String`
91-
- **Default**: `middle`
92-
93-
### padding
94-
95-
- **Type**: `Array`
96-
- **Default**: `() => [0, 0, 0, 0]`
97-
98-
### backgroundFill
99-
100-
- **Type**: `array`, `string`
101-
102-
Fill color for the text background when `placement` is 'point'. Default is no fill. Either in hexadecimal or as RGBA array with red, green, and blue values betweeen 0 and 255 and alpha value between 0 and 1 inclusive.
103-
104-
### backgroundStroke
105-
106-
- **Type**: `Object`
107-
108-
Stroke style for the text background when `placement` is 'point'. Default is no stroke. Please see [ol-style-stroke](/componentsguide/styles/stroke/#properties) for available options.
109-
110-
### fill
111-
112-
- **Type**: `array`, `string`
113-
114-
Fill color for the text. Default is '#333'. Either in hexadecimal or as RGBA array with red, green, and blue values betweeen 0 and 255 and alpha value between 0 and 1 inclusive.
115-
116-
### stroke
117-
118-
- **Type**: `Object`
119-
120-
Stroke style for the text. Default is no stroke. Please see [ol-style-stroke](/componentsguide/styles/stroke/#properties) for available options.
46+
None.

docs/get-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ app.mount("#app");
8686
<script setup lang="ts"></script>
8787
8888
<template>
89-
<ol-map style="min-width: 400px; min-height: 400px;">// [!code focus:6]
89+
<ol-map style="min-width: 400px; height: 400px;">// [!code focus:6]
9090
<ol-view :center="[40, 40]" :zoom="5" projection="EPSG:4326" />
9191
<ol-tile-layer>
9292
<ol-source-osm />
@@ -109,7 +109,7 @@ import { Map, Layers, Sources } from "vue3-openlayers";
109109
</script>
110110
111111
<template>
112-
<Map.OlMap style="min-width: 400px; min-height: 400px;">
112+
<Map.OlMap style="min-width: 400px; height: 400px;">
113113
<Map.OlView :center="[40, 40]" :zoom="5" projection="EPSG:4326" />
114114
<Layers.OlTileLayer>
115115
<Sources.OlSourceOSM />
@@ -145,7 +145,7 @@ You can also specifically render the map only at client side, by putting inside
145145
```vue
146146
<template>
147147
<ClientOnly>
148-
<Map.OlMap style="min-width: 400px; min-height: 400px;">
148+
<Map.OlMap style="min-width: 400px; height: 400px;">
149149
<Map.OlView :center="[40, 40]" :zoom="5" projection="EPSG:4326"/>
150150
<Layers.OlTileLayer>
151151
<Sources.OlSourceOSM/>
@@ -230,7 +230,7 @@ provide("ol-options", options);
230230
</script>
231231
232232
<template>
233-
<Map.OlMap style="min-width: 400px; min-height: 400px">
233+
<Map.OlMap style="min-width: 400px; height: 400px">
234234
<Map.OlView :center="[40, 40]" :zoom="5" projection="EPSG:4326" />
235235
<Layers.OlTileLayer>
236236
<Sources.OlSourceOSM />

0 commit comments

Comments
 (0)