[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] maps: Stamen layers are now Stadia Maps with underscores in the layer...

"Jonny Bradley \(@jonnybradley\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69a821994bef4_3b188738739d3@gitlab-sidekiq-low-urgency-cpu-bound-v2-6cc94ddffd-vctqq.mail>

Jonny Bradley pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
c66bbc9a by Jonny Bradley at 2026-03-04T12:01:54+00:00
[FIX] maps: Stamen layers are now Stadia Maps with underscores in the layer...
---
* [FIX] maps: Stamen layers are now Stadia Maps with underscores in the layer names instead of hyphens

See merge request tikiwiki/tiki!9684

- - - - -


1 changed file:

- src/js/jquery-tiki/tiki-maps-ol3.js


Changes:

=====================================
src/js/jquery-tiki/tiki-maps-ol3.js
=====================================
@@ -177,8 +177,8 @@ import { defaults as defaultControls } from "ol/control";
                         var flavor = name.substring(7);
 
                         layer = new ol.layer.Tile({
-                            source: new ol.source.Stamen({
-                                layer: flavor,
+                            source: new ol.source.StadiaMaps({
+                                layer: `stamen_${flavor.replace("-", "_")}`,
                             }),
                             title: "Stamen" + flavor,
                         });



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/c66bbc9aa32d0d4caa7f05bec33c2cc1a4ec16ea

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/c66bbc9aa32d0d4caa7f05bec33c2cc1a4ec16ea
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.