Skip to content

Commit

Permalink
Merge branch main into feature/packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
dopenguin committed Mar 5, 2024
2 parents 1b981a0 + 868fa97 commit f54f3ab
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions packages/clients/meldemichel/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## unpublished

- Feature: Add `@polar/plugin-address-search` and `@polar/plugin-reverse-geocoder` to mode `SINGLE`.
- Chore: Import newly exposed style paths of `@polar/core` as well as all plugin packages.

## 1.0.0-beta.5
Expand Down
13 changes: 6 additions & 7 deletions packages/clients/meldemichel/src/addPlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ export const addPlugins = (core, mode: keyof typeof MODE) => {

core.addPlugins(
[
mode !== MODE.SINGLE &&
AddressSearch({
displayComponent: true,
layoutTag: NineLayoutTag.TOP_LEFT,
addLoading: 'plugin/loadingIndicator/addLoadingKey',
removeLoading: 'plugin/loadingIndicator/removeLoadingKey',
}),
AddressSearch({
displayComponent: mode !== MODE.SINGLE,
layoutTag: NineLayoutTag.TOP_LEFT,
addLoading: 'plugin/loadingIndicator/addLoadingKey',
removeLoading: 'plugin/loadingIndicator/removeLoadingKey',
}),
Pins({
displayComponent: true,
appearOnClick: { show: true, atZoomLevel: 0 },
Expand Down
2 changes: 2 additions & 0 deletions packages/clients/meldemichel/src/mapConfigurations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,13 @@ const mapConfigurations: Record<
}),
[MODE.SINGLE]: () => ({
...commonMapConfiguration,
addressSearch,
layers: commonLayers,
attributions: {
...commonAttributions,
},
pins: commonPins,
reverseGeocoder,
}),
}

Expand Down

0 comments on commit f54f3ab

Please sign in to comment.