getCenter() docs

This commit is contained in:
Patrick Arlt 2014-12-22 08:26:20 -08:00 committed by Vladimir Agafonkin
parent 4b0e4d7c5a
commit ceed74ba50

View File

@ -2734,6 +2734,11 @@ map.fitBounds(polyline.getBounds());</code></pre>
<td><code><a href="#latlngbounds">LatLngBounds</a></code></td>
<td>Returns the LatLngBounds of the polyline.</td>
</tr>
<tr id="path-getcenter">
<td><code><b>getCenter</b>()</code></td>
<td><code><a href="#latlng">LatLng</a></code></td>
<td>Returns the center (<a href="http://en.wikipedia.org/wiki/Centroid">centroid</a>) of the polyline.</td>
</tr>
<tr id="polyline-togeojson">
<td><code><b>toGeoJSON</b>()</code></td>
<td><code>Object</code></td>