Has anyone tested the markerDrag event of the gmap component with last version of primefaces-3.0.RC1.jar?
I can add a marker, but the event markerDrag never occurs.
Code: Select all
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.org/ui">
<h:form id="mapform">
<p:gmap center="#{shopsController.latitude}, #{shopsController.longitude}" zoom="15"
type="HYBRID" model="#{shopsController.draggableModel}"
style="width:600px;height:400px" widgetVar="mymap">
<p:ajax event="markerDrag" listener="#{shopsController.onMarkerDrag}" />
</p:gmap>
</h:form>
</ui:composition>
jsf 2.0 (facelets)
primefaces-3.0.RC1.jar
redmond-1.0.2.jar