title: Why MissingKeyMapError using tag p:gmap with primefaces (in the simplest example)?
body: <p>I have read that, since Google Maps V3, developers do not need any api key in order to use google map api. My code is the following (the simplest one to visualize a google map). I have tried to run it both on google chrome and on firefox, but in both of them, the map popped up a few seconds and then the app raised this exception:</p>
  
  <pre><code>js?sensor=false:32 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error_.ab @ js?sensor=false:32
  util.js:208 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
  </code></pre>
  
  <p>The code is the following:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:p="http://primefaces.org/ui"&gt;
  
      &lt;f:view&gt;
          &lt;h:head&gt;
              &lt;script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"&gt;&lt;/script&gt;
          &lt;/h:head&gt;
  
          &lt;h:body&gt;
              Map:
              &lt;p:gmap center="41.381542, 2.122893" zoom="15" type="HYBRID" style="width:600px;height:400px" /&gt;
          &lt;/h:body&gt;
      &lt;/f:view&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>In the documentation of primefaces there's no attribute for tag p:gmap in which insert api keys:</p>
  
  <p><a href="http://primefaces.org/docs/vdl/3.4/primefaces-p/gmap.html" rel="nofollow">primefaces p:gmap documentation</a> </p>