---
layout: api
title: "v2.1.1 JavaScript Library: L.LatLng"
categories: api
version: v2.1.1
permalink: /api/v2.1.1/l-latlng/
---
<h2 id="latlng">LatLng</h2>

<p>Represents a geographical point with a certain latitude and longitude.</p>
<pre><code class="javascript">var latlng = L.latLng(50.5, 30.5);</code></pre>

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

<pre><code>map