Fix broken basemaps and add Carto/Stadia API key support
@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,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
omeka/plugin-Geolocation 的其他 Issue
-
Document: Multiple locations, shapes, and the new browse map可能已有人在做 @allanaaa 于 19 天前认领。 未关闭
omeka/plugin-Geolocation#83 · 已指派 1 人 ·
-
Accessibility: screen reader handling of map zoom level changes可能已有人在做 @jimsafley 于 24 天前认领。 未关闭a11y
omeka/plugin-Geolocation#79 · 2 条评论 · 已指派 1 人 ·
-
a11y
难度 5/5 一周以上 新手友好度 25/100
omeka/plugin-Geolocation#75 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
omeka/plugin-Geolocation#55 ·
-
Enhancement
难度 3/5 1-2 天 新手友好度 35/100
omeka/plugin-Geolocation#53 ·
查看 omeka/plugin-Geolocation 的全部 Issue
相似的 Issue
-
bug CI breakage triage needed
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
draftomen enhancement size: S
难度 2/5 1-3 小时 新手友好度 75/100
andreagrandi/draftomen#761 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
HarperFast/harper#2866 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
HarperFast/harper-pro#927 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
anthropics/skills#1897 · 1 条评论 ·
维护者通常 1 天内回复