Namensraum: latlng

Methode

Wert

statisch

value(lat, lng) gibt Rules.LatLng zurück

Erstellen Sie einen LatLng aus Gleitkommakoordinaten.

Parameter

lat

Regeln.Float

Der Breitengrad.

Der Wert darf nicht null sein.

lng

Regeln.Float

Der Längengrad.

Der Wert darf nicht null sein.

Kehrt zurück

non-null rules.LatLng ein LatLng.

Beispiel

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.

Aktualisiert: Sep 26, 2023