---
title: "<ScriptLeafletMarker>"
description: "添加一个响应式的 L.Marker。提供唯一的 alt，以便生成的标记图像具有有意义的可访问名称。"
canonical_url: "https://nuxt-scripts.zhcndoc.com/scripts/leaflet/api/marker"
last_updated: "2026-08-11T09:33:17.790Z"
---

添加一个响应式的 `L.Marker`。提供唯一的 `alt`，以便生成的标记图像具有有意义的可访问名称。

<script-types filter="ScriptLeafletMarker" script-key="leaflet">



</script-types>

在默认插槽中嵌套一个 [`<ScriptLeafletPopup>`](/scripts/leaflet/api/popup)，将其绑定到标记。
