1. Hang a: references
<script src="http://ditu.google.cn/maps/api/js?key=申请的key&callback=initMap&libraries=drawing" async defer></script>
(Beginning with the .com address, found to be over the wall, get out a map)
(Back into https://ditu.google.cn/maps/api/js, satellite maps get out)
Finally, the use of this http://ditu.google.cn/maps/api/js. Finally no problem
2. pits two: using a satellite map
= Map new new google.maps.Map (document.getElementById ( 'Map' ), { mapTypeControl: to false , // map type control fullscreenControl: to false , // full-screen controls its streetViewControl: to false , // whether Pegman scaleControl: to false , // whether to display the map zoom controls zoomControl: false , Center: { LAT: 33.42 , lng: 107.40 }, zoom: 4 , mapTypeId:'Hybrid' // Display mixed normal and satellite views show // , mapTypeId: 'Satellite' });
// start using the 'satellite', shows a satellite map, but does not display names. Later changed mapTypeId: 'hybrid'. Finally it. . . . I too hard
effect: