On this page

Function wgs84ToTileIndex

  • From a given wgs84 coordinate and a zoom level, computes the tile index

    Parameters

    • position: Position

      Wgs84 coordinates

    • zoom: number

      Zoom level

    • Optionalstrict: boolean

      Returns integer tile indices if true or floating-point values if false

    Returns Position

Was this helpful?
SDK JS
Reference
wgs84ToTileIndex