Skip to content

feat(geo): adding initial button component files#957

Merged
pelord merged 12 commits into
nextfrom
initialbuttonrebase
Mar 28, 2022
Merged

feat(geo): adding initial button component files#957
pelord merged 12 commits into
nextfrom
initialbuttonrebase

Conversation

@mneige
Copy link
Copy Markdown
Contributor

@mneige mneige commented Dec 8, 2021

Please check if the PR fulfills these requirements

What is the current behavior? (You can also link to an open issue here)
Missing button to return to initial extent of the map

What is the new behavior?
Added button to return to initial extent of the map

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications:

Other information:

@mneige mneige changed the title adding initial button component files feat(geo): adding initial button component files Dec 8, 2021
@PhilippeLafreniere18
Copy link
Copy Markdown
Contributor

Il manque les traductions associées au bouton dans les fichiers en.geo.json et fr.geo.json.

Je me demande si on devrait pas le renommer... Initial-button me dit pas grand chose.
Peut-être quelque chose comme igo-move-button, igo-relocation-button ou igo-shifting-button... ?

@mneige
Copy link
Copy Markdown
Contributor Author

mneige commented Feb 2, 2022

Ma première idée était initial-extent. ça pourrait être map-extent

@PhilippeLafreniere18
Copy link
Copy Markdown
Contributor

Mais étant donné que de le bouton peut servir autant à un extent qu'à un centre avec niveau de zoom, seulement extent n'est peut-être pas adéquat ? Au final, il sert vraiment à bouger ou à recentrer ta carte active à un endroit prédéfinie.

@mneige
Copy link
Copy Markdown
Contributor Author

mneige commented Feb 2, 2022

recenter-map ?

Comment thread package.json Outdated
Comment thread packages/geo/src/lib/map/initial-button/initial-button.component.html Outdated
Comment thread packages/geo/src/lib/map/initial-button/initial-button.component.ts Outdated
@pelord
Copy link
Copy Markdown
Member

pelord commented Mar 25, 2022

@PhilippeLafreniere18 @mneige Any reviews?

@PhilippeLafreniere18
Copy link
Copy Markdown
Contributor

C'était bon pour moi ! Il manquait seulement la doc (assemblage)

@pelord pelord merged commit 81f0ace into next Mar 28, 2022
@pelord pelord deleted the initialbuttonrebase branch March 28, 2022 16:09
cbourget pushed a commit that referenced this pull request Mar 21, 2023
* adding initial button component files

* correcting initialbutton

* corrections to initial button

* correction to initial button

* Button name changed to home-extent-button

* adding package.json as required

* minors fix

* fix package

* refactor(home-extent-button): update with config

* fix event parameter

* feat(home-extent): allow to provide homeExtent properties from context

Co-authored-by: Philippe Lafreniere <philippe.lafreniere@msp.gouv.qc.ca>
Co-authored-by: Pierre-Etienne Lord
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants