2012-07-19 16:39:36 +08:00
|
|
|
<!-- Snippets to use for docs -->
|
2012-02-26 19:45:44 +08:00
|
|
|
|
|
|
|
<!-- Argument -->
|
|
|
|
|
2012-07-19 16:39:36 +08:00
|
|
|
<nobr><<a href="#foo">Foo</a>> <i>name</i></nobr>
|
2012-02-26 19:45:44 +08:00
|
|
|
|
|
|
|
|
|
|
|
<!-- Class -->
|
|
|
|
|
|
|
|
<h2 id="[class-anchor]">[class-name]</h2>
|
|
|
|
|
|
|
|
<p>[description]</p>
|
|
|
|
|
|
|
|
<pre><code>[code-example]</code></pre>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- constructor -->
|
|
|
|
|
|
|
|
<h3>Constructor</h3>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Constructor</th>
|
2012-07-19 16:39:36 +08:00
|
|
|
<th>Usage</th>
|
2012-02-26 19:45:44 +08:00
|
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><code>[constructor]( [arguments] )</code></td>
|
2012-07-19 16:39:36 +08:00
|
|
|
<td class="factory-usage">
|
|
|
|
<code><span class='keyword'>new</span> L.Map(<span class="comment">…</span>)</code><br />
|
|
|
|
<code>L.map(<span class="comment">…</span>)</code>
|
|
|
|
</td>
|
2012-02-26 19:45:44 +08:00
|
|
|
<td>[description]</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- methods -->
|
|
|
|
|
|
|
|
<h3>Methods</h3>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Method</th>
|
|
|
|
<th>Returns</th>
|
|
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2012-07-19 16:39:36 +08:00
|
|
|
<td><code><b>[method]</b>( <nobr>argument</nobr>, <nobr>argument )</nobr></code></td>
|
2012-02-26 19:45:44 +08:00
|
|
|
<td><code>[return-type]</code></td>
|
|
|
|
<td>[description]</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- options -->
|
|
|
|
|
|
|
|
<h3 id="[class-anchor]-options">Options</h3>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Option</th>
|
|
|
|
<th>Type</th>
|
|
|
|
<th>Default value</th>
|
|
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2012-07-19 16:39:36 +08:00
|
|
|
<td><code><b>[name]</b></code></td>
|
2012-02-26 19:45:44 +08:00
|
|
|
<td><code>[type]</code></td>
|
|
|
|
<td><code>[default]</code></td>
|
|
|
|
<td>[description]</td>
|
|
|
|
</tr>
|
2012-07-19 16:39:36 +08:00
|
|
|
</table>
|