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.

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Mar 4, 2020

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Dec 13, 2019