title: Gmaps search and kmz load javascript
body: <p>I have a website on which i load and use kmz files. My problem is that GEO location is not working, i mean it's working but it's not showing the street becouse the Javascript loads kmz file and sets focus on KMZ map and not your GEOlocation.</p>
  
  <p>Anyway, here is the code so you can look what is wrong:</p>
  
  <pre><code> &lt;script type="text/javascript"&gt;
      var map, infoWindow;
      $(document).ready(function(){
        infoWindow = new google.maps.InfoWindow({});
        map = new GMaps({
          el: '#map',
          zoom: 20,
          lat: 46.044414,
          lng: 14.508105,
        });
        map.loadFromKML({
          url: 'http://blabla.com/blabla.kmz',
          url: 'http://blabla.com/blabla2.kmz',
          suppressInfoWindows: true,
          events: {
            click: function(point){
              infoWindow.setContent(point.featureData.infoWindowHtml);
              infoWindow.setPosition(point.latLng);
              infoWindow.open(map.map);
            }
          }
        });
      });
    &lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  GMaps.geolocate({
    success: function(position) {
      map.setCenter(position.coords.latitude, position.coords.longitude);
    },
    error: function(error) {
      alert('Geolocation failed: '+error.message);
    },
    not_supported: function() {
      alert("Your browser does not support geolocation");
    },
    always: function() {
      alert("Success!");
    }
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>Oh i almost forgot, i am using Gmaps.js </p>