Add a getDefaultMagnetPoint method on Marker and Path