Cordova plugin for GPS Location using iOS CoreLocation services and Android GPS services Works without wi-fi and 3g. Only GPS hardware.
Contains a phonegap project on the folder /src/example/TestForGPS
Print GPS information on index.html > #container:
var c = document.getElementById("container");
var newParagraph = document.createElement('p');
newParagraph.innerHTML = resp; //response from iOS-Android (latitude,longitude)
c.appendChild(newParagraph);
<div id="container"></div>
Vitor Venturin
VVLTDA 2014