Options
All
  • Public
  • Public/Protected
  • All
Menu

This object is made available to the OverlayView from within the draw method. It is not guaranteed to be initialized until draw is called.

Hierarchy

  • MapCanvasProjection

Index

Methods

  • Computes the geographical coordinates from pixel coordinates in the map's container.

    Parameters

    Returns null | LatLng

  • Computes the geographical coordinates from pixel coordinates in the div that holds the draggable map.

    Parameters

    Returns null | LatLng

  • Computes the pixel coordinates of the given geographical location in the map's container element.

    Parameters

    Returns null | google.maps.Point

  • Computes the pixel coordinates of the given geographical location in the DOM element that holds the draggable map.

    Parameters

    Returns null | google.maps.Point

  • The visible region of the map. Returns null if the map has no size. Returns null if the OverlayView is on a StreetViewPanorama.

    Returns null | VisibleRegion

  • getWorldWidth(): number
  • The width of the world in pixels in the current zoom level. For projections with a heading angle of either 90 or 270 degrees, this corresponds to the pixel span in the Y-axis.

    Returns number

Generated using TypeDoc