# Conflicts: # docs/user/dashboard/vega-reference.asciidoc
This commit is contained in:
parent
f6095badd0
commit
5a30ea911e
1 changed files with 21 additions and 1 deletions
|
@ -213,6 +213,26 @@ also supported. The `"interval"` can also be set dynamically, depending
|
|||
on the currently picked range: `"interval": {"%autointerval%": 10}` will
|
||||
try to get about 10-15 data points (buckets).
|
||||
|
||||
[float]
|
||||
[[vega-esmfiles]]
|
||||
===== Access Elastic Map Service files
|
||||
|
||||
experimental[] Access the Elastic Map Service files via the same mechanism:
|
||||
|
||||
[source,yaml]
|
||||
----
|
||||
url: {
|
||||
// "type" defaults to "elasticsearch" otherwise
|
||||
%type%: emsfile
|
||||
// Name of the file, exactly as in the Region map visualization
|
||||
name: World Countries
|
||||
}
|
||||
// The result is a geojson file, get its features to use
|
||||
// this data source with the "shape" marks
|
||||
// https://vega.github.io/vega/docs/marks/shape/
|
||||
format: {property: "features"}
|
||||
----
|
||||
|
||||
[float]
|
||||
[[vega-with-a-map]]
|
||||
==== Vega with a Map
|
||||
|
@ -270,7 +290,7 @@ vector shapes of administrative boundaries in your Vega map by setting `url.data
|
|||
----
|
||||
url: {
|
||||
// "type" defaults to "elasticsearch" otherwise
|
||||
type: emsfile
|
||||
%type%: emsfile
|
||||
// Name of the file, exactly as in the Region map visualization
|
||||
name: World Countries
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue