Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Fix broken basemaps and add Carto/Stadia API key support

已关闭
#81 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@jimsafley 已经在做这个了。

开始于 2026年9月3日。

评估

这个 Issue 还没有评估数据。

描述

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).
主要语言
JavaScript
星标
12
派生
22
PR 合并指标
30 天内没有已合并 PR

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

omeka/plugin-Geolocation 的其他 Issue

查看 omeka/plugin-Geolocation 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。