mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* [Maps] update docs for index pattern -> data view rename * Update docs/maps/reverse-geocoding-tutorial.asciidoc Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com> Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
41 lines
1.7 KiB
Text
41 lines
1.7 KiB
Text
[role="xpack"]
|
|
[[vector-tooltip]]
|
|
=== Vector tooltips
|
|
Vector tooltips display attributes for the features at your mouse location.
|
|
These tooltips give users an in-depth insight into what's going on in the map.
|
|
|
|
If more than one feature exists at a location, the tooltip displays the
|
|
attributes for the top feature, and notes the number of features at that location.
|
|
The following image has a tooltip with three features at the current location: a green circle from the *Total Sales Revenue* layer, a blue New York State polygon from *United States* layer, and a red United States Country polygon from the *World Countries* layer.
|
|
The tooltip displays attributes for the top feature, the green circle, from the *Total Sales Revenue* layer.
|
|
|
|
[role="screenshot"]
|
|
image::maps/images/multifeature_tooltip.png[]
|
|
|
|
[float]
|
|
[[maps-vector-tooltip-formatting]]
|
|
|
|
==== Format tooltips
|
|
|
|
You can format the attributes in a tooltip by adding <<managing-fields, field formatters>> to your
|
|
data view. You can use field formatters to round numbers, provide units,
|
|
and even display images in your tooltip.
|
|
|
|
[float]
|
|
[[maps-vector-tooltip-locking]]
|
|
==== Lock a tooltip at the current location
|
|
You can lock a tooltip in place by clicking a location on the map.
|
|
With locked tooltips you can:
|
|
|
|
* Page through features.
|
|
* Create a <<maps-phrase-filter, phrase filter>> from a feature attribute value.
|
|
* Create a <<maps-spatial-filters, spatial filter>> from a feature's geometry.
|
|
|
|
This image shows a locked tooltip with features from three layers.
|
|
The tooltip displays attributes
|
|
for the second feature, the blue New York State polygon. The tooltip includes
|
|
controls for paging through the features and a dropdown menu for filtering
|
|
the features by layer.
|
|
|
|
[role="screenshot"]
|
|
image::maps/images/locked_tooltip.png[]
|