cugos.github.com icon indicating copy to clipboard operation
cugos.github.com copied to clipboard

People map displays as grey rectangle

Open TimJohns opened this issue 11 months ago • 1 comments

The map on https://cugos.org/people/ displays as a grey rectangle for me.

Image

Environment:

  • MacBook Pro, 14-inch, 2021, w/Apple M1 Pro
  • macOS Sequoia 15.3.1 (24D70)
  • Chrome Version 133.0.6943.98 (Official Build) (arm64)

Other Notes

I was able to reproduce this locally, and even troubleshoot it a little bit, but I'm not familiar enough with the Mapbox libraries and map server we're using to proceed. Both locally and on cugos.org, a fetch by the Mapbox library gets an HTTP 410 (Gone) error and logs this:

Image

By inspection, it appears our API key is in the code, which may or may not be a problem, depending on how Mapbox protects API keys from abuse. Even if it is a problem, it may or may not be related to this specific issue.

Someone with more Mapbox experience than me will probably need to look into it, but happy to contribute in any way that I can.

TimJohns avatar Feb 20 '25 17:02 TimJohns

Just confirming that I get the same error on Windows/Chrome. It might be nice to remove the Mapbox dependency entirely so we don't have to worry about API keys...

njhenry avatar Feb 20 '25 20:02 njhenry

Fixed by PR #339 !

njhenry avatar Mar 13 '25 00:03 njhenry