Interface: LatLng

Methods

distance

distance(other) returns rules.Float

Calculate distance between two LatLng points in distance (meters).

Parameter

other

rules.LatLng

The other point.

Value must not be null.

Returns

non-null rules.Float distance in meters.

latitude

latitude() returns rules.Float

Get the latitude value in the range [-90.0, 90.0].

Returns

non-null rules.Float latitude.

longitude

longitude() returns rules.Float

Get the longitude value in the range [-180.0, 180.0].

Returns

non-null rules.Float longitude.