HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
The following map types are supported in Google Maps API
The following map types are supported in Google Maps API:
The map type is specified either within the Map properties object, with the mapTypeId property:
var mapOptions = {
center:new google.maps.LatLng(51.508742,-0.120850),
zoom:7,
mapTypeId: google.maps.MapTypeId.HYBRID
};
Or by calling the map's setMapTypeId() method:
map.setMapTypeId(google.maps.MapTypeId.HYBRID);
The map types SATELLITE and HYBRID support a 45° perspective imagery view for certain locations (only at high zoom levels).
If you zoom into a location with 45° imagery view, the map will automatically alter the perspective view. In addition, the map will add:
The following example shows a 45° perspective view of Palazzo Ducale in Venice, Italy:
var mapOptions = {
center:myCenter,
zoom:18,
mapTypeId:google.maps.MapTypeId.HYBRID
};
You can disable 45° perspective view by calling setTilt(0) on the Map object:
map.setTilt(0);