Merge pull request #3085 from jseppi/patch-1

minor typo fix
This commit is contained in:
Vladimir Agafonkin 2014-12-08 15:51:33 -05:00
commit 377f534cc5

View File

@ -2588,7 +2588,7 @@ L.imageOverlay(imageUrl, imageBounds).addTo(map);</code></pre>
<p>A class for drawing polyline overlays on a map. Extends <a href="#path">Path</a>. Use <a href="#map-addlayer">Map#addLayer</a> to add it to the map.</p>
<h3>Usage example</h3>
<pre><code class="javascript">// create a red polyline from an arrays of LatLng points
<pre><code class="javascript">// create a red polyline from an array of LatLng points
var polyline = L.polyline(latlngs, {color: 'red'}).addTo(map);
// zoom the map to the polyline