# Map
Cardscript
Displays a map.
# Example
{
"type": "AdaptiveCard",
"body": [
{
"type": "Map"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0"
}
# Required properties
# type
Must be "Map"
.
- Type:
string
- Values:
Map
# Optional properties
# id
A unique identifier associated with the element.
- Type:
string
# spacing
Controls the amount of spacing between this element and the preceding element.
- Type:
string
- Values:
none
small
default
medium
large
extraLarge
padding
# separator
When true
, draw a separating line at the top of the element.
- Type:
boolean
# JSON Schema
{
"additionalProperties": true,
"type": "Map",
"description": "Displays a map.",
"version": "1.1",
"allOf": [
{
"$ref": "#/definitions/CardElement"
}
],
"properties": {
"type": {
"type": "string",
"description": "Must be `\"Map\"`.",
"enum": [
"Map"
]
}
},
"required": [
"type"
],
"typeSafe": "map",
"example": "FIXME!",
"propertySummary": [
{
"name": "type",
"type": "string",
"required": "Required",
"text": "Must be `\"Map\"`."
}
]
}