[Docs] Try to make it clear drilldows only available in dashboard (#161469)

## Summary

Issue [raised on
Slack](https://elastic.slack.com/archives/C0D8P2XK5/p1688661541837369)
that it was a bit unclear on our [docs
page](https://www.elastic.co/guide/en/kibana/8.8/maps-create-filter-from-map.html#maps-spatial-filters)
that to use drilldowns you had to embed your map in Dashboard, and can't
be used from the Maps application.

Original:
<img width="808" alt="Screenshot 2023-07-07 at 15 32 27"
src="176e7f22-1bb3-4dd0-95d5-4a601487aa6b">

Updated:
<img width="843" alt="Screenshot 2023-07-07 at 11 47 45"
src="4d33a39f-2cee-4097-b730-3b24d613c498">

---------

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
This commit is contained in:
amyjtechwriter 2023-07-11 15:08:31 +01:00 committed by GitHub
parent 6b3a29b4ec
commit 811fb7c4fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,16 +99,18 @@ To filter your dashboard by your map bounds as you pan and zoom your map:
A spatial filter narrows search results to documents that either intersect with, are within, or do not intersect with the specified geometry.
You can create spatial filters in two ways:
* Click the tool icon image:maps/images/tools_icon.png[], and then draw a shape, bounding box, or distance on the map to define the spatial filter.
* Click *Filter by geometry* in a <<maps-vector-tooltip-locking, locked tooltip>>, and then use the feature's geometry for the spatial filter.
Spatial filters have the following properties:
* *Geometry label* enables you to provide a meaningful name for your spatial filter.
* *Spatial relation* determines the {ref}/query-dsl-geo-shape-query.html#geo-shape-spatial-relations[spatial relation operator] to use at search time.
* *Action* specifies whether to apply the filter to the current view or to a drilldown action. Only available when the map is a panel in a {kibana-ref}/dashboard.html[dashboard] with {kibana-ref}/drilldowns.html[drilldowns].
* *Action* specifies whether to apply the filter to the current view or to a drilldown action.
NOTE: {kibana-ref}/drilldowns.html[Drilldowns] are available only if the map is a panel in a {kibana-ref}/dashboard.html[dashboard], and not within the Maps application.
You can create spatial filters in two ways:
* Click the tool icon image:maps/images/tools_icon.png[tool icon], and then draw a shape, bounding box, or distance on the map to define the spatial filter.
* Click *Filter by geometry* in a <<maps-vector-tooltip-locking, locked tooltip>>, and then use the feature's geometry for the spatial filter.
[role="screenshot"]
image::maps/images/create_spatial_filter.png[]