Closed DanielJDufour closed 1 year ago
{?-?}
(e.g. {a-f}
) so you need to do some preprocessing anyway to pass it over. https://{s}/maps/{z}/{x}/{y}
and then set xyz:servers
example.org and mirror.cloud.That's the intention behind it. Thoughts, @DanielJDufour ?
Ah okay. That makes a lot more sense. Hmmm... it's sorta tricky because it seems Mapbox and LeafletJS usage of {s}
is in conflict. I'm not sure what to think, but I'll give it some thought.
What we'll do with {s} is that it's just expanded into multiple URLs.
If you have https://{s}/example
and xyz:servers
is ["a.com", "b.eu"]
you'll expand that to ["https://a.com/example", "https://b.eu/example"]
Hi. I'm wondering if
xyz:servers
might be a little more intuitive to people who use LeafletJS if it was calledxyz:subdomains
. I'm not sure about the nomenclature for other libraries.https://leafletjs.com/reference.html#tilelayer