> For the complete documentation index, see [llms.txt](https://cranford-tech.gitbook.io/beautiful-maps-mapbox/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cranford-tech.gitbook.io/beautiful-maps-mapbox/loading-markers/trigger-an-action-when-marker-is-clicked.md).

# Trigger an action when marker is clicked

{% embed url="<https://www.youtube.com/watch?v=uJtFK60gg1E>" %}
