gis-tools-ts - v0.6.0
    Preparing search index...

    Function llToTile

    • Convert a lat-lon and zoom to the tile's x-y coordinates

      Parameters

      • ll: VectorPoint

        the lat-lon

      • zoom: number

        the zoom

      • tileSize: number = 512

        in pixels

      Returns VectorPoint

      • the tile x-y