Updated description of L.Popup source arg
https://github.com/Leaflet/Leaflet/issues/2146
This commit is contained in:
parent
d79e8187b5
commit
00a8820b5b
@ -1584,7 +1584,7 @@ var map = L.map('map', {
|
||||
<tr>
|
||||
<td><code><b>L.Popup</b>(
|
||||
<nobr><<a href="#popup-options">Popup options</a>> <i>options?</i>,</nobr>
|
||||
<nobr><object> <i>source?</i> )</nobr>
|
||||
<nobr><<a href="#ilayer">ILayer</a>> <i>source?</i> )</nobr>
|
||||
</code></td>
|
||||
|
||||
<td class="factory-usage">
|
||||
@ -1592,7 +1592,7 @@ var map = L.map('map', {
|
||||
<code>L.popup(<span class="comment">…</span>)</code>
|
||||
</td>
|
||||
|
||||
<td>Instantiates a Popup object given an optional options object that describes its appearance and location and an optional object that is used to tag the popup with a reference to the source object to which it refers.</td>
|
||||
<td>Instantiates a Popup object given an optional options object that describes its appearance and location and an optional source object that is used to tag the popup with a reference to the ILayer to which it refers.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user