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

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

::script-types{script-key="leaflet" filter="ScriptLeafletMarker"}
::

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

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
