Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Projection

Index

Methods

fromLatLngToPoint

  • Translates from the LatLng cylinder to the Point plane. This interface specifies a function which implements translation from given LatLng values to world coordinates on the map projection. The Maps API calls this method when it needs to plot locations on screen. Projection objects must implement this method, but may return null if the projection cannot calculate the Point.

    Parameters

    Returns null | Point

fromPointToLatLng

  • fromPointToLatLng(pixel: Point, noClampNoWrap?: boolean): null | LatLng
  • This interface specifies a function which implements translation from world coordinates on a map projection to LatLng values. The Maps API calls this method when it needs to translate actions on screen to positions on the map. Projection objects must implement this method, but may return null if the projection cannot calculate the LatLng.

    Parameters

    • pixel: Point
    • Optional noClampNoWrap: boolean

    Returns null | LatLng

Generated using TypeDoc