From 5c86d2c4738a2a2955a7f81afc251401a3908a76 Mon Sep 17 00:00:00 2001 From: Konstantin Holm Date: Thu, 1 Aug 2024 08:01:52 +0200 Subject: [PATCH] Remove displayComponent mentions where it is not necessary --- packages/clients/meldemichel/CHANGELOG.md | 1 + packages/clients/meldemichel/src/addPlugins.ts | 1 - packages/plugins/Pins/README.md | 1 - packages/plugins/ReverseGeocoder/README.md | 1 - 4 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/clients/meldemichel/CHANGELOG.md b/packages/clients/meldemichel/CHANGELOG.md index 89a97bfba..d12d7ca61 100644 --- a/packages/clients/meldemichel/CHANGELOG.md +++ b/packages/clients/meldemichel/CHANGELOG.md @@ -3,6 +3,7 @@ ## unpublished - Chore: Change value of `pins.movable` configuration to `'drag'` as using a boolean has been deprecated in a future release. +- Chore: Removed the `displayComponent` attribute for `@polar/plugin-pins` as it is not necessary. ## 1.1.2 diff --git a/packages/clients/meldemichel/src/addPlugins.ts b/packages/clients/meldemichel/src/addPlugins.ts index 79b142bdd..4d5b82ade 100644 --- a/packages/clients/meldemichel/src/addPlugins.ts +++ b/packages/clients/meldemichel/src/addPlugins.ts @@ -33,7 +33,6 @@ export const addPlugins = (core, mode: keyof typeof MODE) => { removeLoading: 'plugin/loadingIndicator/removeLoadingKey', }), Pins({ - displayComponent: true, appearOnClick: { show: true, atZoomLevel: 0 }, coordinateSource: 'plugin/addressSearch/chosenAddress', toastAction: 'plugin/toast/addToast', diff --git a/packages/plugins/Pins/README.md b/packages/plugins/Pins/README.md index 69c68a16e..5baaae2f7 100644 --- a/packages/plugins/Pins/README.md +++ b/packages/plugins/Pins/README.md @@ -22,7 +22,6 @@ The usage of `displayComponent` has no influence on the creation of Pins on the | 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. | | toZoomLevel | number? | Zoom level to use on outside input by e.g. address search. Defaults to `0`. | -For details on the `displayComponent` attribute, refer to the [Global Plugin Parameters](../../core/README.md#global-plugin-parameters) section of `@polar/core`. #### pins.appearOnClick diff --git a/packages/plugins/ReverseGeocoder/README.md b/packages/plugins/ReverseGeocoder/README.md index 1281a0a92..f8020c71b 100644 --- a/packages/plugins/ReverseGeocoder/README.md +++ b/packages/plugins/ReverseGeocoder/README.md @@ -19,7 +19,6 @@ This module has been written for the HH WPS service. The return format is custom | removeLoading | string? | Points to an action in the store; commited with a loading key as payload on finishing reverse geocoding. | | zoomTo | number? | If specified, plugin zooms to given coordinate after successful reverse geocoding; number indicates maximal zoom level. | -For details on the `displayComponent` attribute, refer to the [Global Plugin Parameters](../../core/README.md#global-plugin-parameters) section of `@polar/core`. ## Store