Namespace: latlng

Method

value

static

value(lat, lng) returns rules.LatLng

Create a LatLng from floating point coordinates.

Parameter

lat

rules.Float

The latitude.

Value must not be null.

lng

rules.Float

The longitude.

Value must not be null.

Returns

non-null rules.LatLng a LatLng.

Example

latlng.value(45.0, 90.0)

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

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

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, 2025