Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 12 commits into from
Mar 28, 2022
Merged

Conversation

mneige
Copy link
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
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
Contributor Author

mneige commented Feb 2, 2022

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

@PhilippeLafreniere18
Copy link
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
Contributor Author

mneige commented Feb 2, 2022

recenter-map ?

package.json Outdated Show resolved Hide resolved
@pelord
Copy link
Member

pelord commented Mar 25, 2022

@PhilippeLafreniere18 @mneige Any reviews?

@PhilippeLafreniere18
Copy link
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.

None yet

3 participants