GMap - Draggable Markers

When a draggable marker is dragged and dropped, a server side markerDragListener can be invoked passing a MarkerDragEvent that contains a reference to the dragged marker whose positon is updated already.

Source

<h:form>

    <p:growl id="growl" showDetail="true"/>

    <p:gmap center="36.890257,30.707417" zoom="13" type="HYBRID"  model="#{mapBean.draggableModel}" style="width:600px;height:400px"
        <p:ajax event="markerDrag" listener="#{mapBean.onMarkerDrag}" update="growl" />
    </p:gmap>

</h:form>