I used Avenza Maps in the past for offline navigation at various state parks. The park service provides maps and the app will let you navigate the trails. It's been a long time since I used it and I now have a new phone on which I never installed the Google Play services. The app is complaining that "check that Google play is enabled. .." and then quits.
All the sites I've searched show you how to install or enable Google play (which I don't want). I'm pretty sure that it's needed because the app allows for in app purchases, which i don't need. I don't think I rooted this phone. Are there any workarounds or shim/simulation apps that would allow the app to work without installing privacy violating Google services?
To my knowledge OsmAnd works fine without Google services, and is fully open source. Based on open street map, which others have suggested as well.
Alternatively, to more directly answer your question, there are apps that emulate the Google API. Look into GmsCore (GitHub), or cancer microg, maybe as a starting point. I'm not 100% on which part of the Google API they provide, and if it's the part your app relies on.
Hilariously the Google Maps app itself works without Google Play Services, that one was a surprise to discover (and obviously pretty useless if you're trying to avoid Google's tracking)
Osmand is great for most of what I need on a daily basis, but on a trip a few years ago, some of the hiking trails were not up to date and we got lost. It wasn't terrible, but it was uncomfortable and fortunately we had paper maps.
I would like to use the maps provided by the park or forestry service since I like to think that they're current, but they rely on Avenza which relies on Google. I'm okay taking a risk on Avenza for the short duration of the trip and plan to not give it network access, but I doubt I could do that with Google Play services, much less cleanly uninstall it after the trip is over.
I'm running /e/ OS 1.8.1. Avenza seems to be the problem here. There are other apps too, but this is the lastest. It's frustrating to be required to use closed source proprietary software for public services, like the forestry maps.