Namespace: latlng

Método

valor

estático

valor(lat, lng) retorna regras.LatLng

Crie um LatLng a partir de coordenadas de ponto flutuante.

Parâmetro

lat

regras.Float

A latitude.

O valor não deve ser nulo.

GNL

regras.Float

A longitude.

O valor não deve ser nulo.

Devoluções

non-null rules.LatLng e LatLng.

Exemplo

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.

Atualização: Sep 26, 2023