Rectangle 27 0

jsf PrimeFaces Gmap not rendering (in the simplest example)?

<p:gmap center="41.381542, 2.122893" zoom="15" type="HYBRID" style="width:600px;height:400px" />
Four options are required to place a gmap on a page, these are center, zoom, type and style

Yeah, but when you look at the showcase it nowhere states the JavaScript that needs to be put into h:head. Until I found out I had already removed the style attribute, too. Bad luck.

You are missing the height and width :