geo.s2CellLatLon() function
The geo.s2CellLatLon()
function is experimental and subject to change at any time.
By using this function, you accept the risks of experimental functions.
The geo.s2CellLatLon()
function returns the latitude and longitude of the
center of an S2 cell.
import "experimental/geo"
geo.s2CellLatLon(token: "89c284")
// Returns {lat: 40.812535546624574, lon: -73.55941282728273}
Parameters
token
S2 cell ID token.
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, the following resources are available:
InfluxDB Cloud customers can contact InfluxData Support.