---
layout: api
title: "v2.3.0 JavaScript Library: L.PolyUtil"
categories: api
version: v2.3.0
permalink: /api/v2.3.0/l-polyutil/
---
<h2 id="polyutil">PolyUtil</h2>

<p>Various utility functions for polygon geometries.</p>

<h3>Methods</h3>

<table data-id='polylineutil'>
	<tr>
<th>Method</th>
<th>Returns</th>
<th>Description</th>
	</tr>
	<tr>
<td><code><b>clipPolygon</b>(
<nobr>&lt;<a href="/mapbox.js/api/v2.3.0/l-point">Point</a>[]&gt; <i>points</i></nobr>,
<nobr>&lt;<a href="/mapbox.js/ap