layer population performance on editor and limit coordinates length to enable leaflet.draw