-
Notifications
You must be signed in to change notification settings - Fork 3
resolution {r} param #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks. Is this Leaflet specific? I don't see such a parameter in any other mapping library I have looked at (Mapbox, Openlayers). |
Marblecutter has something similar but calls it |
How should this be handled if |
That's a good point. I'm not sure there's a perfect answer, but here's a couple options to consider:
{
"r": {
"description": "resolution",
},
"bands": {
"description": "comma separated ordering of bands"
}
} conclusionAfter more thought, I think Number 2 makes the most sense (would be a hassle to support all the different libraries and params). If/when the community comes together and creates a standard for xyz tile service parameters (e.g., What do you think? |
Yeah, I think I like 2. the best. Would be good to call it out specifically though, and perhaps even have an example with it. |
Okay, option 2 sounds good to me. Happy to accept PRs if anyone wants to give it a try. |
Implemented. |
It wouldn't require a specification change, but perhaps we could add to the description of XYZ href, that {r} is optional as well:
https://leafletjs.com/reference.html#tilelayer
The text was updated successfully, but these errors were encountered: