Open GoogleCodeExporter opened 9 years ago
I temporarily solved this way (don't know if it is the best one)
/*
* Do not reset the mapTypeIds (you may have custom), just push the new one in.
*/
var mapTypeIds = map.mapTypeControlOptions.mapTypeIds;
mapTypeIds.push(GoogleEarth.MAP_TYPE_ID);
var options = /** @type {google.maps.MapTypeControlOptions} */
({
mapTypeControlOptions : {
mapTypeIds : mapTypeIds
}
});
map.setOptions(options);
Original comment by alessand...@gmail.com
on 4 Oct 2011 at 2:20
Original issue reported on code.google.com by
alessand...@gmail.com
on 3 Oct 2011 at 4:46