[docs] Update Maps docs based on 7.14 UI. (#104762)

This commit is contained in:
Luke Elmers 2021-08-13 10:51:38 -06:00 committed by GitHub
parent e33daccca3
commit 57e395540d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 557 B

View file

@ -34,8 +34,7 @@ refer to <<xpack-security-authorization,Granting access to {kib}>>.
. Open the main menu, and then click *Dashboard*.
. Click **Create dashboard**.
. Set the time range to *Last 7 days*.
. Click **Create panel**.
. Click **Maps**.
. Click the **Create new Maps** icon image:maps/images/app_gis_icon.png[]
[float]
[[maps-add-choropleth-layer]]
@ -62,14 +61,15 @@ and lighter shades will symbolize countries with less traffic.
. Add a Tooltip field:
** Select **ISO 3166-1 alpha-2 code** and **name**.
** Click **Add**.
** **ISO 3166-1 alpha-2 code** is added by default.
** Click **+ Add** to open field select.
** Select **name** and click *Add*.
. In **Layer style**, set:
. In **Layer style**:
** **Fill color: As number** to the grey color ramp
** **Border color** to white
** **Label** to symbol label
** Set **Fill color: As number** to the grey color ramp.
** Set **Border color** to white.
** Under **Label**, change **By value** to **Fixed**.
. Click **Save & close**.
+
@ -135,9 +135,10 @@ grids with less bytes transferred.
** **Name** to `Total Requests and Bytes`
** **Visibility** to the range [0, 9]
** **Opacity** to 100%
. In **Metrics**, use:
** **Agregation** set to **Count**, and
** **Aggregation** set to **Sum** with **Field** set to **bytes**
. In **Metrics**:
** Set **Agregation** to **Count**.
** Click **Add metric**.
** Set **Aggregation** to **Sum** with **Field** set to **bytes**.
. In **Layer style**, change **Symbol size**:
** Set the field select to *sum bytes*.
** Set the min size to 7 and the max size to 25 px.

View file

@ -14,6 +14,8 @@ To add a vector layer to your map, click *Add layer*, then select one of the fol
*Clusters and grids*:: Geospatial data grouped in grids with metrics for each gridded cell.
The index must contain at least one field mapped as {ref}/geo-point.html[geo_point] or {ref}/geo-shape.html[geo_shape].
*Create index*:: Draw shapes on the map and index in Elasticsearch.
*Documents*:: Points, lines, and polyons from Elasticsearch.
The index must contain at least one field mapped as {ref}/geo-point.html[geo_point] or {ref}/geo-shape.html[geo_shape].
+