Found this article:
https://www.splunk.com/blog/2017/06/01/enhancing-splunk-visualizations-with-mapbox.html
Trying to use my own style created in MapBox applied to a default MapBox map - I.e.
https://api.mapbox.com/v4/mapbox.streets
https://api.mapbox.com/v4/mapbox.streets/{z}/{x}/{y}@2x.png?access_token=your-access-token
Found this:
https://docs.mapbox.com/api/maps/#vector-tiles
Tried adding “style” like this:
https://api.mapbox.com/v4/mapbox.mapbox-streets-v8/12/1171/1566.mvt?style=mapbox://styles/mapbox/str...
However, the map doesn’t render in Splunk - works ok with the default though (
https://api.mapbox.com/v4/mapbox.streets/{z}/{x}/{y}@2x.png?access_token=your-access-token)
Any ideas please?
The visualisation uses leaflet.js as the underlying map rendering library. For leaflet to render mapbox vector tiles, it needs an experimental plugin to be added -- https://github.com/mapbox/mapbox-gl-leaflet.
I have no plans to try and integrate this plugin myself, but if you wished to try this you can give it a go using the Missile Map code on github: https://github.com/lukemonahan/missile_map