MapState: {
    bounds: google.maps.LatLngBounds;
    center: google.maps.LatLng;
    heading: number;
    tilt: number;
    zoom: number;
}

The MapState type describes the current viewport state of the map.

Type declaration

  • bounds: google.maps.LatLngBounds
  • center: google.maps.LatLng
  • heading: number
  • tilt: number
  • zoom: number