title: Google Maps Zoom Level and map type not working
body: <p>Not sure what's wrong here. The map loads well and adds the custom marker, but zoom level isn't working, nor is map type.</p>
  
  <pre><code>&lt;div id="locationMap" class="locationMap"&gt;&lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;
           var map = null;
           var map_bounds = null;
           var gMarkers = [];
  
           function initialize() {
  
               var mapOptions = {
                   zoom: 12,
                   scrollwheel: false,
                   mapTypeId: 'hybrid'
               };
  
               map = new google.maps.Map(document.getElementById('locationMap'), mapOptions);
           }
  
           function addToMap(location, lat, long, title, marker) {
  
               if (lat != null &amp;&amp; long != null) {
  
                   var iconBase = 'map-marker.png'
  
                   var myLatLng = new google.maps.LatLng(lat, long);
  
                   var marker = new google.maps.Marker({
                       map: map,
                       position: myLatLng,
                       title: title,
                       icon: iconBase
                   });
  
                   if (map_bounds == null) { map_bounds = new google.maps.LatLngBounds(); }
                   map_bounds.extend(marker.getPosition());
                   map.fitBounds(map_bounds);
  
                   // Create info window object
                   var wname = new google.maps.InfoWindow({
                       content: location
                   });
                   gMarkers.push(marker); // Add To Marker Array
                   google.maps.event.addListener(marker, 'click', function() {
                     //map.setCenter(marker.getPosition());
                     wname.open(map, marker);
                   });
               }
           }
       initialize();
  &lt;/script&gt; 
  
  &lt;script type="text/javascript"&gt;addToMap('&lt;a href="&lt;?php the_permalink(); ?&gt;" class="locationMapPop"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;br /&gt;&lt;?php echo $profileStreet; ?&gt;&lt;br /&gt;&lt;?php echo $profileAddrLine2; ?&gt;&lt;br /&gt;&lt;?php echo $profilePhoneTakeOut; ?&gt;', '&lt;?php echo $profileLatitude; ?&gt;', '&lt;?php echo $profileLongitude; ?&gt;','&lt;?php echo $profileAddress; ?&gt;', '&lt;?php echo $map_marker; ?&gt;');&lt;/script&gt;
  </code></pre>
  
  <p>For some reason, no matter what number I add, the zoom level doesn't change on the map. </p>