Ionic get network location

I am trying to build an app that uses gps, but sadly gps does not work well inside the building so I want to have a sort of alternative to get the current location of my user and I think that getting network location would solve my problem. However I don’t how to make it possible.