remove leaflet.draw dependency for param.length