---
title: "orthoNO | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

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

# Function orthoNO

-   orthoNO(  
        out: [mat4](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.mat4/),  
        left: number,  
        right: number,  
        bottom: number,  
        top: number,  
        near: number,  
        far: number,  
    ): [mat4](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.mat4/)[](#orthono)
    
    Generates a orthogonal projection matrix with the given bounds. The near/far clip planes correspond to a normalized device coordinate Z range of \[-1, 1\], which matches WebGL/OpenGL's clip volume.
    
    #### Parameters
    
    -   out: [mat4](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.mat4/)
        
        mat4 frustum matrix will be written into
        
    -   left: number
        
        Left bound of the frustum
        
    -   right: number
        
        Right bound of the frustum
        
    -   bottom: number
        
        Bottom bound of the frustum
        
    -   top: number
        
        Top bound of the frustum
        
    -   near: number
        
        Near bound of the frustum
        
    -   far: number
        
        Far bound of the frustum
        
    
    #### Returns [mat4](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.mat4/)
    
    out
