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

westra passes: show pass region #1311

Merged
merged 1 commit into from
Mar 4, 2025
Merged

Conversation

wladich
Copy link
Owner

@wladich wladich commented Mar 4, 2025

No description provided.

@wladich wladich requested a review from Copilot March 4, 2025 08:56

Choose a reason for hiding this comment

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

PR Overview

This PR introduces changes to support displaying the pass region by updating data fetching, marker creation, and pass description rendering. Key changes include:

  • Changing the data file from "westra_passes.json" to "westra_passes2.json".
  • Refactoring loadData() to use async/await and replacing the older _loadMarkers() with a new _createMarkers() function.
  • Updating pass description details to include region links with new URL composition.

Reviewed Changes

File Description
src/lib/leaflet.layer.westraPasses/westraPassesMarkers.js Updates data file reference, refactors asynchronous data loading and marker creation, and enhances pass detail rendering with region links

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@wladich wladich merged commit 2e460db into master Mar 4, 2025
4 checks passed
@wladich wladich deleted the westra-passes-regions-info branch March 4, 2025 09:04
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.

1 participant