I want to get latitude,longitude only from GPS not from cell tower or WiFi signal as geolocation plugin used. It gives location from cell tower if unable to find location from GPS.
Is it possible to get location only from GPS when gps is on, because it gives me accurate location.
Please provide me solution for that.
Usually, the OS will give you a network location first, because it's faster. GPS requires satellite fix, which takes a bit longer.
There are many factors involved, though.