-
Notifications
You must be signed in to change notification settings - Fork 623
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
include tiles option for geoshape mark #8767
Comments
This is great. I think we could add support for this in a macro. I don't know how official we want to make this feature as Vega support is somewhat cumbersome right now. |
I find it very exciting to see tiles in a VL chart, this is exactly what I was missing in terms of geo support. Thank you @mattijn for figuring out how it works in the PoC!! I'm a novice at javascript and don't yet fully understand the PoC specs but I think with some guidance I could give it a go and try to implement a macro for this or at least lay a good foundation for someone else to finish it. @mattijn what do you think? Are you already working on this and can I help or ok if I start? My current understanding is that for a line mark the
Based on this, I'd assume that it makes sense to expand |
Hi @binste! Please go ahead with trying to make this work. I did not start working on this. |
With an imperative proof of concept in #5758 (comment) for tile support within Vega-Lite. I'm proposing something as the following for declarative tiles support:
Where
true
defaults to"tiles": {"url": "https://tile.opentopomap.org/", "attribution": "(C) OpenStreetMap contributors"}
similar to
"mark": {"type": "line", "points": true}
.This can also be extended with providers that require access-tokens or API keys.
The imperative approach of the poc above can then be included within the extended vega-lite specification.
The text was updated successfully, but these errors were encountered: