Anderson localization in the nondiscrete maryland model