Easy Tutorial
❮ Ref Getcenter Ref Getmaptypeid ❯

Google Maps Type


HYBRID type Google Maps:


Google Maps - Basic Map Types

Google Maps API provides the following map types:

To modify the map type being used via the Map, you can set its mapTypeId property:

Or dynamically modify mapTypeId:


Google Maps - 45° Imagery

Google Maps API supports special 45° imagery for certain locations.

These high-resolution images provide perspective views in all four cardinal directions (north, south, east, west). For supported map types, these images are also available at higher zoom levels.

The existing google.maps.MapTypeId.SATELLITE and google.maps.MapTypeId.HYBRID map types support 45° perspective images at high zoom levels, if available. If you zoom in on a location that has such imagery, these map types will automatically change their view in the following ways:

Note: Zooming out on a map type displaying 45° images will revert all changes and reconstruct the original map type.

The following example shows a 45° view of the Doge's Palace in Venice, Italy:

Example

var mapProp = {
    center: myCenter,
    zoom: 18,
    mapTypeId: google.maps.MapTypeId.HYBRID
};

Tip: Google is continuously adding 45° imagery for more cities. For the latest information, see the 45° images on Google Maps list.


Google Maps - Enabling and Disabling 45° Imagery - setTilt(0)

You can disable 45° imagery by calling setTilt(0) on the Map object. To enable 45° perspective imagery for supported map types, call setTilt(45).

Example


Google Maps - Reference Manual

Google Maps API Reference Manual.

❮ Ref Getcenter Ref Getmaptypeid ❯