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

fix: define and document MAP_BASE_URL to prevent gray maps #1016

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

Aletor93
Copy link
Contributor

@Aletor93 Aletor93 commented Jul 3, 2024

Checklist

  • Any modified or new methods or classes have helpful JSDoc and code is thoroughly commented
  • The description lists all applicable issues this PR seeks to resolve
  • The description lists any configuration setting(s) that differ from the default settings
  • All tests and CI builds passing

Description

The maps are gray when we start the application with this commit id ae16265.
A functional fix was suggested by a maintainer. My suggestion is to add it to the default environment variables template.

Fix suggestion: #983 (comment)
Related issue: #983

Copy link
Contributor

@miles-grant-ibigroup miles-grant-ibigroup left a comment

Choose a reason for hiding this comment

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

This looks great thanks for these changes!

Copy link
Contributor

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

Could you just fix the comment for the MAP_BASE_URL parameter, please?

@@ -6,6 +6,7 @@ MAP_BASE_URL: optional-map-tile-url
MAPBOX_ACCESS_TOKEN: your-mapbox-access-token
MAPBOX_MAP_ID: mapbox/outdoors-v11
MAPBOX_ATTRIBUTION: <a href="https://www.mapbox.com/about/maps/" target="_blank">&copy; Mapbox &copy; OpenStreetMap</a> <a href="https://www.mapbox.com/map-feedback/" target="_blank">Improve this map</a>
MAP_BASE_URL: http://tile.openstreetmap.org/{z}/{x}/{y}.png # Keep it until a fix or maps are gray
Copy link
Contributor

Choose a reason for hiding this comment

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

The comment seems incomplete. Could you reword it, please?

Copy link
Contributor

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

Could you just fix the comment for the MAP_BASE_URL parameter, please?

@Aletor93
Copy link
Contributor Author

Sorry for the delay, I've commented MAP_BASE_URL.

@miles-grant-ibigroup miles-grant-ibigroup merged commit f256f0f into ibi-group:dev Jul 29, 2024
3 of 4 checks passed
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