GoogleMaps Framework Reference

  • GMSMapPoint represents a point on the map, potentially a projected coordinate.

  • The x and y values range from -1 to 1, with (0, 0) at the map's center and y growing North, x growing East.

  • GMSProject() and GMSUnproject() functions are related to GMSMapPoint for coordinate conversions.

GMSMapPoint

typedef struct GMSMapPoint GMSMapPoint

A point on the map. May represent a projected coordinate.

x is in [-1, 1]. The axis direction is normal: y grows towards North, x grows towards East. (0, 0) is the center of the map.

See GMSProject() and GMSUnproject().

  • A point on the map. May represent a projected coordinate.

    x is in [-1, 1]. The axis direction is normal: y grows towards North, x grows towards East. (0, 0) is the center of the map.

    See GMSProject() and GMSUnproject().

    Declaration

    Swift

    struct GMSMapPoint

    Objective-C

    struct GMSMapPoint {}