Added autoadjust to addMarkers