Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Fix broken basemaps and add Carto/Stadia API key support

Đã đóng
#81 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@jimsafley đang làm issue này rồi.

Từ ngày 3/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Half the basemaps we offer don't work:

  • All six Carto styles are watermarked without an API key, including Voyager, our default.
  • The six Stamen styles return 401 on any real domain.
  • Esri DeLorme is retired (404).

Because Voyager is the default, most existing sites are showing a watermarked map and probably don't know it. Fixing this means those sites will visibly change to OpenStreetMap, their setting is preserved, so adding a Carto key restores it.

The Stamen problem is easy to miss: those styles moved to Stadia hosting, and Stadia now requires an API key or a registered domain for anything but localhost. They render normally on localhost, so a developer testing locally sees nothing wrong.

Closes #76. Takes over part of #80.

What needs doing:

  • Change the default basemap to OpenStreetMap.
  • Remove Esri DeLorme and migrate sites using it.
  • Update leaflet-providers to v4.0.0, which adds Carto's API key support.
  • Add Carto and Stadia API key fields, alongside the existing Mapbox one.
  • Tell admins in the config form when their basemap needs a key, and substitute the default where we can do that safely.
  • Add a contrast suggestion to the Base Map setting (from #80).
Ngôn ngữ chính
JavaScript
Star
12
Fork
22
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của omeka/plugin-Geolocation

Tất cả issue của omeka/plugin-Geolocation

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.