content/flux/v0/stdlib/experimental/geo/s2celllatlon.md
geo.s2CellLatLon() returns the latitude and longitude of the center of an S2 cell.
(token: string) => {lon: float, lat: float}
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
({{< req >}}) S2 cell ID token.
import "experimental/geo"
geo.s2CellLatLon(token: "89c284")// Returns {lat: 40.812535546624574, lon: -73.55941282728273}