How to show the labels in satellite view in Google Maps

google-maps, google-maps-api-3

Solution

In your MapOptions object that you use to create the map, use `MapTypeId.HYBRID`, like this:

var myLatlng = new google.maps.LatLng(-34.397, 150.644);
var myOptions = {
  zoom: 8,
  center: myLatlng,
  mapTypeId: google.maps.MapTypeId.HYBRID
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
    myOptions);

Problem

My map is displaying fine. BUT no lables are shown on it. I can show the lables when I check the satellite => label. How I can check the satellite => label by default (through code). Now by default no labels are shown.

Original source