title: Problems with launching GMaps in ZF2
body: <p>I'm trying to use this module, <a href="https://github.com/gowsram/zf2-google-maps-" rel="nofollow">https://github.com/gowsram/zf2-google-maps-</a> , but I'm running into a problem.</p>
  
  <pre><code>Zend\ServiceManager\ServiceManager::get was unable to fetch or create an instance for GMaps\Service\GoogleMap
  </code></pre>
  
  <p>I have followed the instruction in the github readme, and have <strong>downloaded zip file</strong> and <strong>unzipped</strong> it into my <strong>vendors</strong> directory. </p>
  
  <p>From what I understand, the line which calls the <code>ServiceLocator</code>,</p>
  
  <pre><code>$map = $this-&gt;getServiceLocator()-&gt;get('GMaps\Service\GoogleMap');
  </code></pre>
  
  <p>isn't pointing to the right place. Unfortunately my knowledge of how the service locator works isn't deep enough to figure out how to fix the problem, despite attempts to remedy this by diving into the docs. It's all a little over my head.</p>
  
  <p>Do you have other tools that could work?
  I need to get the Latitude and Longitude when I click on a point in the map.
  But it would not launch .. .</p>
  
  <p>If I put the following in config/application.config.php file:</p>
  
  <pre><code>&lt;?php
  return array(
      // This should be an array of module namespaces used in the application.
      'modules' =&gt; array(
          'Auth',
          'Application',
          'User',
          'GMaps',
      ),
  </code></pre>
  
  <p>I get the following exceptions on the page:</p>
  
  <pre><code>Fatal error: Uncaught exception 'Zend\ModuleManager\Exception\RuntimeException' with message 'Module (GMaps) could not be initialized.'
  </code></pre>