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

Feature: Center YETI link from a route if no gpx #3832

Open
AntoineMarnat opened this issue Feb 5, 2024 · 0 comments
Open

Feature: Center YETI link from a route if no gpx #3832

AntoineMarnat opened this issue Feb 5, 2024 · 0 comments

Comments

@AntoineMarnat
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
When browsing (winter) routes, clicking the YETI link below the map box. If the route has a gpx file, it opens YETI centered on the gpx (perfect). If no gpx file, it opens YETI with map at very large scale (full alps). This is not ergonomic, one has to zoom again.

Describe the solution you'd like
If no gpx file attached to the route, use the same centering as for the mapbox (square around associated waypoints)

See

<router-link v-if="showYetiButton" :to="yetiUrl" class="button is-small">


src/components/yeti/YetiMap.vue

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

No branches or pull requests

1 participant