 
 L.Edit.PolyVerticesEdit.include
   __onTouchMove: L.Edit.PolyVerticesEdit::_onTouchMove
+  __removeMarker: L.Edit.PolyVerticesEdit::_removeMarker
 
   _onMarkerDrag: (e) ->
     marker = e.target

    layer.editing.latlngs = this._uneditedLayerProps[id].latlngs
    layer.editing._poly._latlngs = this._uneditedLayerProps[id].latlngs
    layer.editing._verticesHandlers[0]._latlngs = this._uneditedLayerProps[id].latlngs

L.EditToolbar.include
  # Patch _activeMode is null

    @__onTouchMove.apply @, arguments
    @_poly.fire 'editdrag'

  _removeMarker: (marker) ->
    @__removeMarker.apply @, arguments
    @_poly.fire 'editdrag', marker: marker


L.LatLng.prototype.toArray = ->
  [@lat, @lng]
