---
layout: api
title: "v2.1.3 JavaScript Library: L.Point"
categories: api
version: v2.1.3
permalink: /api/v2.1.3/l-point/
---
<h2 id="point">Point</h2>

<p>Represents a point with x and y coordinates in pixels.</p>

<pre><code>var point = L.point(200, 300);</code></pre>

<p>All Leaflet methods and options that accept Point objects also accept them in a simple Array form (unless noted otherwise), so these lines are equivalent:</p>

<pre><code>map.panBy([200, 300]);
map.panBy(L.point(200, 300));</c