title: error :this.setValues is not a function in js code use google map api
body: <p>here is code of java script :</p>
  
  <pre><code>&lt;script&gt;
          function initMap() {
              var lat = 10;
              var lng = 10;
              var propertyCenter = {lat: 10, lng: 10};
              var propertymap = {
                  center: new google.maps.LatLng(lat, lng),
                  zoom: 7,
                  mapTypeId: google.maps.MapTypeId.ROADMAP
              };
              var map = new google.maps.Map(document.getElementById("propmap"), propertymap);
  
              var marker = google.maps.Marker({
                  position: propertyCenter
  
              });
              marker.setMap(map);
  
          }
          google.maps.event.addDomListener(window, 'load', initMap);
  
      &lt;/script&gt;
  </code></pre>
  
  <p>I am getting following error on console :</p>
  
  <p>js?key=my_key&amp;callback=initMap:65 <strong>Uncaught TypeError: this.setValues is not a function</strong></p>