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

Bug: "Center on" feature on map is broken #3568

Closed
cbeauchesne opened this issue Jul 30, 2023 · 1 comment
Closed

Bug: "Center on" feature on map is broken #3568

cbeauchesne opened this issue Jul 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@cbeauchesne
Copy link
Member

Describe the bug
"Center on" feature on map is broken

To Reproduce

  1. open a map on outings/routes/ ... page
  2. click on "center on"
  3. fill some place name
  4. press enter

Nothing happen. Here is the error in the console :

vue.runtime.esm.js:3049 AssertionError: Cannot fit empty extent provided as `geometry`
    at r (asserts.js:12:11)
    at S.fit (View.js:1353:7)
    at s.recenterOn (OlMap.vue:1161:1)
    at click (OlMap.vue:10:2950)
    at Zn (vue.runtime.esm.js:3017:30)
    at HTMLLIElement.n (vue.runtime.esm.js:1815:20)
    at Ds.o._wrapper (vue.runtime.esm.js:7473:35)

Expected behavior

Maps should recenter on the location

@florentcadot
Copy link
Contributor

Duplicated with #3571 I guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants