When I go hiking, I use a geo referenced PDF maps to plot a planned course and know where I am during the hike. I currently use Avenza but it seems to have enshittified.

Is there a decent FOSS alternative to Avenza?

Edit: forgot to mention I’m looking for android apps