-
Notifications
You must be signed in to change notification settings - Fork 63
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
Allow "None" and color values for basemaps #635
Comments
I added support beyond our basemaps in the original I also opened this a while back but didn't write much: #509 |
I also want a mvt source for mars terrain |
oops sorry didn't realize there was already an open issue! if you prefer, we can close this or vice-versa. Regardless I really like the idea of the no basemap option and adding other basemaps (including Mars) :) |
I'll close the other as this already has more content. But I agree 100% that no basemaps means users can be more creative on visualizations. It also means more art can happen, which is something I'd love to see in cartoframes :) |
+1 🎉 |
I also wonder if just letting |
I'd go for:
|
like!! |
Hi! I have made research in the MGL API. These are the map styles we need to use in these cases: basemap=False style: {
'version': 8,
'sources': {},
'layers': []
} basemap='#0F0' style: {
'version': 8,
'sources': {},
'layers': [{
'id': 'background',
'type': 'background',
'paint': {
'background-color': '#0F0'
}
}]
} |
niiiiice!! |
Context
There will be times where a user may not want a basemap and/or would want to add their own layer of contextual geography.
Since basemaps are Mapbox GL, should we have some sort of "helper" for no basemap? I'm assuming this would default to white or black with an option available to change the color.
[ ] Empty basemap
Allows to display a map without basemap
[ ] Color basemap
Use a single background color
The text was updated successfully, but these errors were encountered: