Skip to content

Conversation

@josee666
Copy link

@josee666 josee666 commented May 31, 2022

#751

What is the new behavior?
add button in wks to zoom on selected feature

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

[ ] Yes
[x ] No

Josée Martel added 2 commits May 31, 2022 16:29
Copy link
Contributor

@PhilippeLafreniere18 PhilippeLafreniere18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works fine for me ! I think it miss the "padding top: 5px" to make sure the button is aligned with the others.

@PhilippeLafreniere18 PhilippeLafreniere18 marked this pull request as ready for review June 8, 2022 16:19
olFeaturesSelected.push(localOlFeature);
}
if (this.map.viewController.padding[2] === 0) {
this.map.viewController.setPadding({bottom: 280});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1-C,est risqué pas mal.. faudrait trouver un moyen moins hardcodé
2-Faudrait trouver un moyen de remettre la valeur d'origine après la déselection....

@PhilippeLafreniere18 PhilippeLafreniere18 merged commit 7757488 into next Jun 15, 2022
@pelord pelord deleted the wks_zoomOnSelect branch October 24, 2022 15:00
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