add_popup
Create and customize Leaflet popups with HTML content, positioning, and width options. Generates code for attaching popups to markers, layers, or coordinates.
Instructions
Generate code for creating and customizing Leaflet popups with various options and content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Popup content (HTML supported) | |
| position | No | Popup position (if standalone) | |
| maxWidth | No | Maximum popup width in pixels | |
| attachTo | No | What to attach popup to | marker |