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

    Function llToTilePx

    • given a lon-lat and tile, find the offset in pixels

      Parameters

      • ll: VectorPoint

        the lon-lat

      • tile: [zoom: number, x: number, y: number]

        the tile

      • tileSize: number = 512

        in pixels

      Returns VectorPoint

      • the tile x-y