merge from leaflet

This commit is contained in:
stefanocudini 2014-07-31 16:49:30 +02:00
commit cfc48ee53b
2 changed files with 50 additions and 3 deletions

View File

@ -397,7 +397,24 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s
<a href="https://github.com/cbaines">Christopher Baines</a>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/henrythasler/Leaflet.Geodesic">Leaflet.Geodesic</a>
</td><td>
Draw geodesic (poly)lines. A geodesic line is the shortest path between two given positions on the earth surface. and You can also calculate the exact distance between two given points on the map.
</td><td>
<a href="https://github.com/henrythasler">Henry Thasler</a>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/makinacorpus/Leaflet.LineExtremities">Leaflet.LineExtremities</a>
</td><td>
Show symbols at the extremities of polylines, using SVG markers.
</td><td>
<a href="https://github.com/fredericbonifas">Frédéric Bonifas</a>
</td>
</tr>
</table>
@ -1181,13 +1198,31 @@ While Leaflet is meant to be as lightweight as possible, and focuses on a core s
<a href="https://github.com/yellowiscool">Antoine Pultier</a>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/zvaraondrej/Leaflet.MeasureAreaControl">Leaflet.MeasureAreaControl</a>
</td><td>
Control for measuring element's area.
</td><td>
<a href="https://github.com/zvaraondrej">Ondrej Zvara</a>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/aratcliffe/Leaflet.twofingerzoom">Leaflet.twofingerZoom</a>
</td><td>
Interaction handler for touch devices enabling zooming out with a two finger tap.
</td><td>
<a href="https://github.com/aratcliffe/">Adam Ratcliffe</a>
</td>
</tr>
<tr>
<td>
<a href="https://github.com/stefanocudini/leaflet-compass">Leaflet Control Compass</a>
</td><td>
A leaflet control plugin to build a simple rotating compass
</td><td>
<a href="http://labs.easyblog.it/web-mapping/">Stefano Cudini</a>
<a href="http://labs.easyblog.it/">Stefano Cudini</a>
</td>
</tr>
</table>

View File

@ -820,6 +820,18 @@ var map = L.map('map', {
<td><code>Boolean</code></td>
<td>Returns <code><span class="literal">true</span></code> if the given layer is currently added to the map.</td>
</tr>
<tr>
<td><code><b>eachLayer</b>(
<nobr>&lt;Function&gt; <i>fn</i></nobr>,
<nobr>&lt;Object&gt; <i>context?</i> )</nobr>
</code></td>
<td><code><span class="keyword">this</span></code></td>
<td>Iterates over the layers of the map, optionally specifying context of the iterator function.
<pre><code>map.eachLayer(function (layer) {
layer.bindPopup('Hello');
});</code></pre>
</td>
</tr>
<tr id="map-openpopup">
<td><code><b>openPopup</b>(
@ -4645,7 +4657,7 @@ map.off('click', onClick);</code></pre>
</code></td>
<td><code><span class="keyword">this</span></code></td>
<td>Removes a previously added listener function. If no function is specified, it will remove all the listeners of that particular event from the object.</td>
<td>Removes a previously added listener function. If no function is specified, it will remove all the listeners of that particular event from the object. Note that if you passed a custom context to <code>addEventListener</code>, you must pass the same context to <code>removeEventListener</code> in order to remove the listener.</td>
</tr>
<tr>
<td><code><b>removeEventListener</b>(