mirror of
https://github.com/maputnik/editor.git
synced 2026-11-29 13:24:20 +00:00
Change Maptiler URLs
This commit is contained in:
1 parent
76cb5a6b7c
commit
cb3f93c67d
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -101,7 +101,7 @@ function replaceAccessTokens(mapStyle, opts={}) {
|
||||
changedStyle = replaceSourceAccessToken(changedStyle, sourceName, opts);
|
||||
})
|
||||
|
||||
if (mapStyle.glyphs && mapStyle.glyphs.match(/\.tilehosting\.com/)) {
|
||||
if (mapStyle.glyphs && mapStyle.glyphs.match(/\.maptiler\.com/)) {
|
||||
const newAccessToken = getAccessToken("openmaptiles", mapStyle, opts);
|
||||
if (newAccessToken) {
|
||||
changedStyle = {
|
||||
|
||||
Reference in new issue
Block a user