How to use out side leaflet.draw control with leaflet.snap?
<p>First of all I would like to thank you all for amazing libraries like <code>leaflet/leaflet.draw</code> and <code>leaflet.snap</code>.</p>

<p>What I want to do is outside <code>leaflet.draw</code> control with supporting leaflet snap. This is nicely working with in side map draw control.</p>

<p>Below I show how did I call outside leaflet draw control:</p>

<pre><code>&lt;div&gt;&lt;button id="draw_mark1" onclick="drawMarker1()" &gt;Draw Marker1&lt;/button&gt;&lt;/div&gt;
&lt;div&gt;&lt;button id="draw_polyline1" onclick="drawPolyline1()" &gt;Draw Polyline1&lt;/button&gt;&lt;/div&gt;

    function drawMarker1(){
        var markerDrawer1 = new L.Draw.MarkerA(map, { icon: new myIcon_xx() });     
        markerDrawer1.enable();
    }

    function drawPolyline1(){
        var polylineDrawer1 = new L.Draw.PolylineType1(map);     
        polylineDrawer1.enable();
    }
</code></pre>

<p>note:- leaflet.snap not in the tag list. I want to tag it too.</p>