Skip to content

Commit d713696

Browse files
committed
Merge branch 'refs/heads/main' into fix/POLAR-339-no-interactions-in-exports
2 parents 4113b37 + ba32b42 commit d713696

File tree

9 files changed

+12
-6
lines changed

9 files changed

+12
-6
lines changed

packages/clients/afm/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Feature: This client now supports the `@polar/core`'s field `stylePath`. The usage is documented in the API.md file.
66
- Feature: Update icon of `layerChooser` in `iconMenu` to `fa-layer-group` to clear-up the content hidden behind the menu button.
7+
- Chore: Change value of `pins.movable` configuration to `'drag'` as using a boolean has been deprecated in a future release.
78

89
## 1.0.1
910

packages/clients/afm/example/polar-example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const mapConfiguration = {
6767
},
6868
pins: {
6969
toZoomLevel: 9,
70-
movable: true,
70+
movable: 'drag',
7171
appearOnClick: {
7272
show: true,
7373
atZoomLevel: 3,

packages/clients/dish/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## unpublished
44

55
- Feature: If a user is geolocated outside of the map's extent, the client will inform the user of why geolocation did not take effect via a textbox.
6+
- Chore: Change value of `pins.movable` configuration to `'drag'` as using a boolean has been deprecated in a future release.
67

78
## 1.1.1
89

packages/clients/dish/src/mapConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export const mapConfiguration = {
208208
},
209209
pins: {
210210
toZoomLevel: 7,
211-
movable: true,
211+
movable: 'drag',
212212
style: {
213213
fill: shBlue,
214214
},

packages/clients/meldemichel/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## unpublished
4+
5+
- Chore: Change value of `pins.movable` configuration to `'drag'` as using a boolean has been deprecated in a future release.
6+
37
## 1.1.2
48

59
- Chore: Fix bugs via dependency updates.

packages/clients/meldemichel/src/mapConfigurations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const addressSearch: AddressSearchConfiguration = {
104104

105105
const commonPins: Partial<PinsConfiguration> = {
106106
toZoomLevel: 7,
107-
movable: true,
107+
movable: 'drag',
108108
style: {
109109
fill: hamburgRed,
110110
},

packages/clients/snowbox/src/mapConfiguration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export const mapConfiguration = {
179179
pins: {
180180
boundaryLayerId: hamburgBorder,
181181
toZoomLevel: 9,
182-
movable: true,
182+
movable: 'drag',
183183
appearOnClick: {
184184
show: true,
185185
atZoomLevel: 0,

packages/plugins/Pins/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The usage of `displayComponent` has no influence on the creation of Pins on the
1717
| boundaryOnError | ('strict' \| 'permissive')? | If the boundary layer check does not work due to loading or configuration errors, style `'strict'` will disable the pins feature, and style `'permissive'` will act as if no boundaryLayerId was set. Defaults to `'permissive'`. |
1818
| coordinateSource | string? | The pins plugin may react to changes in other plugins. This specifies the path to such store positions. The position must, when subscribed to, return a GeoJSON feature. Please mind that, when referencing another plugin, that plugin must be in `addPlugins` before this one. |
1919
| initial | initial? | Configuration options for setting an initial pin. |
20-
| movable | boolean? \| 'drag' \| 'click' \| 'none' | Whether a user may drag and re-click the pin (`drag` or `true`), only re-click it (`click`) or may only be placed programmatically (`none` or `false`). Defaults to 'none'. **Using a boolean for this configuration has been deprecated and will be removed in the next major release.** |
20+
| movable | boolean \| 'drag' \| 'click' \| 'none'? | Whether a user may drag and re-click the pin (`drag` or `true`), only re-click it (`click`) or may only be placed programmatically (`none` or `false`). Defaults to 'none'. **Using a boolean for this configuration has been deprecated and will be removed in the next major release.** |
2121
| style | style? | Display style configuration. |
2222
| toastAction | string? | If `boundaryLayerId` is set, and the pin is moved or created outside the boundary, this string will be used as action to send a toast information to the user. If no toast information is desired, leave this field undefined; for testing purposes, you can still find information in the console. |
2323
| toZoomLevel | number? | Zoom level to use on outside input by e.g. address search. Defaults to `0`. |

pages/examples/address.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
pins: {
6464
coordinateSource: 'plugin/addressSearch/chosenAddress',
6565
toZoomLevel: 7,
66-
movable: true,
66+
movable: 'drag',
6767
},
6868
reverseGeocoder: {
6969
url: 'https://geodienste.hamburg.de/HH_WPS',

0 commit comments

Comments
 (0)