{
  "_copyright": "Copyright (c) 2026, Salesforce, Inc., All rights reserved. For full license text, see the LICENSE.txt file",
  "$schema": "https://slds.lightningdesignsystem.com/schemas/uif-system.v1.json",
  "apiVersion": "1.0.0",
  "name": "Map",
  "description": "Map container",
  "extensions": {
    "com.salesforce-ux": {
      "genReady": false
    }
  },
  "cssSource": "./map.css",
  "styleApi": {
    "status": "stable",
    "ready": true
  },
  "structure": {
    "name": "map",
    "restrict": [
      "div"
    ],
    "description": "Map container",
    "attributes": {
      "static": {
        "class": "slds-grid"
      }
    },
    "modifiers": [
      {
        "name": "hasCoordinates",
        "attribute": "class",
        "value": "slds-has-coordinates",
        "description": "Modifier that informs the parent grid container the coordinates panel is active"
      }
    ],
    "children": [
      {
        "name": "mapContainer",
        "restrict": [
          "div"
        ],
        "description": "Map container",
        "attributes": {
          "static": {
            "class": "slds-map_container"
          }
        },
        "children": [
          {
            "name": "mapFrame",
            "restrict": [
              "div"
            ],
            "description": "3rd party map element found inside of the map container",
            "attributes": {
              "static": {
                "class": "slds-map"
              }
            },
            "children": [
              {
                "name": "iframe",
                "restrict": [
                  "iframe"
                ],
                "description": "The actual third-party map embed (e.g., Google Maps).",
                "attributes": {
                  "static": {}
                }
              }
            ]
          }
        ]
      },
      {
        "name": "coordinates",
        "restrict": [
          "div"
        ],
        "description": "Element inside the coordinates panel that contains the title of the panel",
        "attributes": {
          "static": {
            "class": "slds-coordinates"
          }
        },
        "children": [
          {
            "name": "header",
            "restrict": [
              "div"
            ],
            "description": "Element inside the coordinates panel that contains the title of the panel",
            "attributes": {
              "static": {
                "class": "slds-coordinates__header"
              }
            },
            "children": [
              {
                "name": "title",
                "restrict": [
                  "h1",
                  "h2",
                  "h3"
                ],
                "description": "Title inside the coordinates panel",
                "attributes": {
                  "static": {
                    "class": "slds-coordinates__title"
                  }
                }
              }
            ]
          },
          {
            "name": "list",
            "restrict": [
              "ul"
            ],
            "description": "Unordered list of coordinate items.",
            "attributes": {
              "static": {
                "class": "slds-coordinates__list"
              }
            },
            "children": [
              {
                "name": "item",
                "restrict": [
                  "li"
                ],
                "description": "Single coordinate row in the list.",
                "repeats": true,
                "attributes": {
                  "static": {
                    "class": "slds-coordinates__item"
                  }
                },
                "children": [
                  {
                    "name": "selectionAssistiveText",
                    "restrict": [
                      "span"
                    ],
                    "description": "Live region that announces the currently selected coordinate to assistive tech.",
                    "attributes": {
                      "static": {
                        "class": "slds-assistive-text"
                      }
                    }
                  },
                  {
                    "name": "itemAction",
                    "restrict": [
                      "button"
                    ],
                    "description": "Actionable items inside of the coordinates list",
                    "attributes": {
                      "static": {
                        "class": "slds-coordinates__item-action slds-button_reset slds-media"
                      }
                    },
                    "children": [
                      {
                        "name": "itemFigure",
                        "restrict": [
                          "span"
                        ],
                        "description": "Media figure slot containing the icon for this coordinate.",
                        "attributes": {
                          "static": {
                            "class": "slds-media__figure"
                          }
                        },
                        "children": [
                          {
                            "name": "iconContainer",
                            "restrict": [
                              "span"
                            ],
                            "description": "Icon container wrapping the SVG glyph for this coordinate (e.g., the standard account icon).",
                            "attributes": {
                              "static": {
                                "class": "slds-icon_container slds-icon-standard-account"
                              }
                            },
                            "children": [
                              {
                                "name": "icon",
                                "restrict": [
                                  "svg"
                                ],
                                "description": "SVG icon glyph for the coordinate.",
                                "attributes": {
                                  "static": {
                                    "class": "slds-icon"
                                  }
                                }
                              },
                              {
                                "name": "iconAssistiveText",
                                "restrict": [
                                  "span"
                                ],
                                "description": "Visually hidden description for the icon.",
                                "attributes": {
                                  "static": {
                                    "class": "slds-assistive-text"
                                  }
                                }
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "name": "itemBody",
                        "restrict": [
                          "span"
                        ],
                        "description": "Media body slot containing the coordinate's primary label and address.",
                        "attributes": {
                          "static": {
                            "class": "slds-media__body"
                          }
                        },
                        "children": [
                          {
                            "name": "itemTitle",
                            "restrict": [
                              "span"
                            ],
                            "description": "Primary label for the coordinate, rendered as a text link.",
                            "attributes": {
                              "static": {
                                "class": "slds-text-link"
                              }
                            }
                          },
                          {
                            "name": "itemAddress",
                            "restrict": [
                              "span"
                            ],
                            "description": "Secondary address text for the coordinate.",
                            "attributes": {
                              "static": {}
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}
