Leaflet JS is a great alternative to Google Maps with most of the functionality through the plugins.
The article also says:
localhost has been declared as "potentially secure" in the spec and in our case geolocation requests served at the top level over localhost will still work.
Yeah thats what I thought too but I’m still getting the error even in ionic serve: Nonetheless I wouldn’t want to use something that I know would only work on localhost.
I will check out leafletJS but would it not be better to move my app to a secure location? Getting someones location really is a security concern.