minor marker docs update
This commit is contained in:
parent
aee3aa0116
commit
6f93b57041
@ -525,7 +525,7 @@ map.addLayer(marker);</code></pre>
|
||||
|
||||
<p>Interaction handlers are properties of a marker instance that allow you to control interaction behavior in runtime, enabling or disabling certain features such as dragging (see <a href="#ihandler">IHandler</a> methods). Example:</p>
|
||||
|
||||
<pre><code class="javascript">marker.draggable.disable();</code></pre>
|
||||
<pre><code class="javascript">marker.dragging.disable();</code></pre>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
@ -534,12 +534,14 @@ map.addLayer(marker);</code></pre>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>draggable</td>
|
||||
<td>dragging</td>
|
||||
<td><a href="#ihandler">IHandler</a></td>
|
||||
<td>Marker dragging handler (by both mouse and touch).</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
<h2 id="popup">L.Popup</h2>
|
||||
|
||||
<p>Used to open popups in certain places of the map. Use <a href="#map-openpopup">Map#openPopup</a> to open popups while making sure that only one popup is open at one time (recommended for usability), or use <a href="#map-addlayer">Map#addLayer</a> to open as many as you want.</p>
|
||||
|
Loading…
Reference in New Issue
Block a user