Leaflet - abudaan/vega-multi-view GitHub Wiki

Vega does not support tile maps but by using vega-as-leaflet-layer we can render a Vega view to a layer in Leaflet. The Leaflet map itself will be added to the HTML element as specified in the configuration.

If you want to render your spec to a Leaflet layer your spec must have defined the signals zoom and latitude and longitude. If your spec does not specify one or all of the mandatory signals an error will be logged to the browser console and nothing will be rendered.

For more information about rendering Vega to a Leaflet layer see the readme of vega-as-leaflet-layer.

You can read more about zoom, latitude and longitude in the Leaflet documentation