Document show_all for map card (#37662)

* Update map.markdown

* Update map.markdown

comma
This commit is contained in:
karwosts 2025-02-25 00:06:08 -08:00 committed by GitHub
parent dfdeee11fb
commit abc81a9e8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,13 +57,18 @@ type:
description: "`map`" description: "`map`"
type: string type: string
entities: entities:
required: true required: false
description: List of entity IDs or `entity` objects (see [below](#options-for-entities)). Either this or the `geo_location_sources` configuration option is required. description: List of entity IDs or `entity` objects (see [below](#options-for-entities)). Either this, `show_all`, or the `geo_location_sources` configuration option is required.
type: list type: list
geo_location_sources: geo_location_sources:
required: true required: false
description: List of geolocation sources or `source` objects (see [below](#options-for-geolocation-sources)). All current entities with that source will be displayed on the map. See [Geolocation](/integrations/geo_location/) platform for valid sources. Set to `all` to use all available sources. Either this or the `entities` configuration option is required. description: List of geolocation sources or `source` objects (see [below](#options-for-geolocation-sources)). All current entities with that source will be displayed on the map. See [Geolocation](/integrations/geo_location/) platform for valid sources. Set to `all` to use all available sources. Either this, `show_all`, or the `entities` configuration option is required.
type: list type: list
show_all:
required: false
description: Automatically add all entities with coordinates to the map card. (Default behavior of Map panel)
type: boolean
default: false
auto_fit: auto_fit:
required: false required: false
description: The map will follow moving `entities` by adjusting the viewport of the map each time an entity is updated. description: The map will follow moving `entities` by adjusting the viewport of the map each time an entity is updated.