Skip to content

marker

Stable

A marker at a coordinate, with an optional popup and dragging that reports the new position.

The events this component sends to the LiveView, as the library documents them. Each arrives in handle_event/3. Use the preview; the last payload of each event the example receives appears here. A component sends only the events its events attribute names, so the example receives those its LiveView handles.

  • marker:clicked

    Fired when the marker is clicked

    Not received yet.

  • marker:drag_start

    Fired when drag starts (if draggable)

    Not received yet.

  • marker:dragging

    Fired while dragging, at most once every 50 ms

    Not received yet.

  • marker:drag_end

    Fired when drag ends, always with the final position

    Not received yet.