Earlier quoted context omitted.
That would return the GPS coordinates of your phone, not the drone. It would not help unless you started in an airport.
I'm nto sure exactly how these things work but would it not be possible to get the phone GPS and then determine the position of the drone relative to that using whatever wireless tech it's using to communicate? Probably not 100% accurate but it might be good enough to say 'this drone is within 100m of a no-fly zone, stop it.'
More useful would be a lower ceiling in no-fly zones, tbh; no-fly is appropriate for real aircraft, but for toys there is value in considering "no-fly" and "low-fly".