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

> For AI agents: a documentation index is available at [/llms.txt](https://docs-qmgv.pages.dev/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Function unitToLat

-   unitToLat(unit: number): number[](#unittolat)
    
    Converts unit range \[-0.5, 0.5\] to WGS84 coordinates.
    
    #### Parameters
    
    -   unit: number
    
    #### Returns number
