I am using the Google Maps API V3 with the Google Earth Plugin enabled. I am trying to display four options for map views (terrain, satellite, satellite with labels (a.k.a. hybrid), and earth.
With the last line commented out (google earth plugin not enabled) everything works correctly. When the last line is in place the 'mapTypeControlOptions' are all ignored. In this case I am just trying to specify the mapTypes, but if I specify anything else in that block it is ignored as well.
Is there a workaround for this or am I screwing something up? I've played around with it for several days and am not seeing what I could possibly be mixing up. Live example of this with the rest of the context can be found at: http://grandlin.es:5000
map = new google.maps.Map(document.getElementById('map'), {
zoom: 13,
center: new google.maps.LatLng(39.797, -105.776),
streetViewControl: false,
mapTypeId: google.maps.MapTypeId.TERRAIN,
mapTypeControlOptions: {
mapTypeIds: [google.maps.MapTypeId.TERRAIN, google.maps.MapTypeId.HYBRID, google.maps.MapTypeId.SATELLITE]
}
});
//var googleEarth = new GoogleEarth(map);
Thanks!