I'm a beginner in jsf, i use gmap in jsf to get long lat
<f:view contentType="text/html">
<p:gmap id="gmap" center="41.381542, 2.122893" zoom="15" type="ROADMAP"
style="width:600px;height:400px"
model="#{restaurant.emptyModel}"
onPointClick="handlePointClick(event);"/> </f:view>
How can i show a message that "Please add marker" when user has not added marker. Thank for helping