geo.getLevel() is experimental and subject to change at any time.
geo.getLevel() returns the S2 cell level of specified cell ID token.
Function type signature
(token: string) => int
(Required) S2 cell ID token.
Return the S2 cell level of an S2 cell ID token
import "experimental/geo" geo.getLevel(token: "166b59")// Returns 10
Was this page helpful?
Thank you for your feedback!
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, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.