Skip to content
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

Support for custom Mapbox Style in Visualizations #7146

Closed
hokieg3n1us opened this issue Mar 27, 2019 · 4 comments
Closed

Support for custom Mapbox Style in Visualizations #7146

hokieg3n1us opened this issue Mar 27, 2019 · 4 comments
Labels
enhancement:request Enhancement request submitted by anyone from the community inactive Inactive for >= 30 days

Comments

@hokieg3n1us
Copy link

In some environments, Mapbox is either not accessible, or not the best available option for base layers (on top of being a subscription based service). In this case, my company hosts it's own WMS maps that we'd like to use as the basemap within Superset.

Is it possible to support a "Custom" Map Style option, that'd allow a user to add their own style definition? For example:

{
  "version": 8,
  "sources": {
    "wms-basemap": {
      "type": "raster",
      "tiles": [
        "https://ows.terrestris.de/osm/service?bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&srs=EPSG:3857&width=256&height=256&styles=&layers=OSM-WMS"
      ],
      "tileSize": 256
    }
  },
  "layers": [
    {
      "id": "wms-osm",
      "type": "raster",
      "source": "wms-basemap",
      "source-layer": "wms-osm",
      "minzoom": 1,
      "maxzoom": 20
    }
  ]
}
@kristw kristw added enhancement:request Enhancement request submitted by anyone from the community .vis labels Mar 27, 2019
@stale
Copy link

stale bot commented May 27, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

@stale stale bot added the inactive Inactive for >= 30 days label May 27, 2019
@stale stale bot closed this as completed Jun 3, 2019
@candy4290
Copy link

I have the save question, how to fix it?

@MrApe
Copy link

MrApe commented Aug 19, 2024

Would also greatly appreciate this!

@rusackas
Copy link
Member

There is a SIP to move from MapBox to MapLibre. If you want to make things more flexible, I'd suggest chiming in there: #28356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement:request Enhancement request submitted by anyone from the community inactive Inactive for >= 30 days
Projects
None yet
Development

No branches or pull requests

5 participants