---
title: "pixelToLat | Weather SDK | JavaScript maps SDK"
description: "Documentation for Weather JS"
---

# Function pixelToLat

-   pixelToLat(y: number, imageSize: number): number[](#pixeltolat)
    
    With a mercator image (origin: top left), return the latitude from the y in pixel coordinates
    
    #### Parameters
    
    -   y: number
    -   imageSize: number
    
    #### Returns number
