DubhAd bfd6b34ee4 Fixing the example (#5999)
Looks like when the last update to the docs was done, the example was overlooked.
2018-08-12 18:09:37 +02:00

1.1 KiB

layout, title, sidebar_label, description, date, sidebar, comments, sharing, footer
layout title sidebar_label description date sidebar comments sharing footer
page Map Card Map A card that allows you to display entities on a map 2018-07-08 10:28 +00:00 true false true true

A card that allows you to display entities on a map.

Screenshot of the map card Screenshot of the map card.

{% configuration %} type: required: true description: map type: string entities: required: true description: List of entity IDs. type: list keys: entity: required: true description: "An entity_id to use." type: string title: required: false description: The card title. type: string aspect_ratio: required: false description: "The map's height:width ratio." type: string default: "100%" {% endconfiguration %}

Only entities that have latitude and longitude attributes will be displayed on the map.

{% linkable_title Examples %}

- type: map
  aspect_ratio: 100%
  entities:
    - device_tracker.demo_paulus
    - zone.home